﻿<ResourceDictionary
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
  xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
  xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
           xmlns:inputToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
           xmlns:inputToolkitPrimitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Input.Toolkit"
    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
  xmlns:dataControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit" 
  xmlns:appControls="clr-namespace:AR.Controls"
  xmlns:loginWindow="clr-namespace:AR.LoginUI"
  xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="../Controls/BusyIndicator.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <!-- ******MAIN PAGE STYLES****** -->
    <!-- **************************** -->
    <!-- Primary Color Brushes -->
    <SolidColorBrush x:Key="NavigationBackgroundColorBrush" Color="#2572ff"/>
    <SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="HighLightColorBrush" Color="#FF0097FC"/>
    <SolidColorBrush x:Key="HoverHyperlinkForegroundColorBrush" Color="#FFEBF7FF"/>
    <SolidColorBrush x:Key="HoverHyperLinkBackgroundColorBrush" Color="#FF747474"/>
    <SolidColorBrush x:Key="BodyTextColorBrush" Color="#FF313131"/>
    <SolidColorBrush x:Key="AtosBlue" Color="#0066A1"/>

  
    <Style x:Name="AddButtonStyle" TargetType="HyperlinkButton">
        <Setter Property="Background">
            <Setter.Value>
                <ImageBrush ImageSource="text3.jpg">
                </ImageBrush>
            </Setter.Value>
        </Setter> 
    </Style>

    <Style TargetType="sdk:TreeViewItem">
        <Setter Property="IsExpanded" Value="True"/>

    </Style>
    <Style TargetType="ToggleButton">
        <Setter Property="Visibility" Value="Collapsed"/>

    </Style>

    <!-- LayoutRoot Grid Style -->
    <Style x:Key="LayoutRootGridStyle" TargetType="Grid">
        <Setter Property="Background" Value="#FFFFFFFF"/>
    </Style>
    <Style TargetType="sdk:DatePicker" x:Key="DatepickerStyle">
        <Setter Property="Control.Template">
            <Setter.Value>
                <ControlTemplate>
                    <sdk:DatePicker Text="{Binding StringFormat='dd/MM/yyyy', 
     RelativeSource={RelativeSource AncestorType=sdk:DatePicker}}" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!-- Titles -->
    <Style x:Key="TitleStyle" TargetType="sdk:Label">
        <Setter Property="Height" Value="28"/>
        <Setter Property="Width" Value="317"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="FontSize" Value="24"/>
        <Setter Property="Foreground" Value="#FF184491"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <!-- form label style -->
    <Style x:Key="FormLabelStyle" TargetType="sdk:Label">
        <Setter Property="FontStyle" Value="Normal"/>
        <Setter Property="FontWeight" Value="SemiBold"/>
        <Setter Property="Foreground" Value="{StaticResource AtosBlue}"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <!-- Themes -->
    <Style x:Key="ThemesStyle" TargetType="TextBlock">
        <Setter Property="Height" Value="28"/>
        <Setter Property="Width" Value="175"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="FontSize" Value="18"/>
        <Setter Property="Foreground" Value="#FF367CE0"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <!-- Questions -->
    <Style x:Key="QuestionsStyle" TargetType="TextBlock"> 
        <Setter Property="Height" Value="26"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
   

    <!-- Content Border Style -->
    <Style x:Key="ContentBorderStyle" TargetType="Border">
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,0.045" StartPoint="0.5,0">
                    <GradientStop Color="#6FCCCCCC"/>
                    <GradientStop Color="#00CCCCCC" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="BorderBrush" Value="#FFFFFFFF"/>
        <Setter Property="BorderThickness" Value="0,1,0,0"/>
        <Setter Property="Margin" Value="0,62,0,0"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
    </Style>

    <!-- Content Frame Style -->
    <Style x:Key="ContentFrameStyle" TargetType="navigation:Frame">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
    </Style>

    <!-- Navigation Outer StackPanel Style -->
    <Style x:Key="NavigationOuterGridStyle" TargetType="Grid"/>

    <!-- Navigation Grid Style -->
    <Style x:Key="NavigationGridStyle" TargetType="Grid">
        <Setter Property="Background" Value="{StaticResource AtosBlue}"/>
        <Setter Property="Height" Value="60"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>

    <!-- Branding Border Style -->
    <Style x:Key="BrandingBorderStyle" TargetType="Border">
        <Setter Property="Height" Value="42"/>
        <Setter Property="Margin" Value="25,0,25,0"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
    </Style>

    <!-- Branding StackPanel Style -->
    <Style x:Key="BrandingStackPanelStyle" TargetType="StackPanel">
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="Orientation" Value="Horizontal"/>
    </Style>

    <!-- Logo Icon Style -->
    <Style x:Key="LogoIcon" TargetType="ContentControl">
        <Setter Property="Height" Value="24"/>
        <Setter Property="Width" Value="24"/>
        <Setter Property="Margin" Value="0,1,10,0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Grid>
                        <Path UseLayoutRounding='False' Fill="{StaticResource HighLightColorBrush}" Stretch="Fill" Data="M8,0 C12.417931,2.8898596E-06 16,3.5814998 16,8 C16,12.417819 12.41803,16 8,16 C3.5816212,16 6.1398991E-06,12.417912 0,8 C1.5351338E-06,6.8954077 0.22386749,5.8431153 0.62867981,4.8860393 C0.65398115,4.82622 0.6799894,4.7667723 0.70669389,4.7077074 L0.73170543,4.6541386 L5.6357112,9.5581446 L3.7429986,11.450858 L3.7429986,11.493001 L11.669835,11.493001 L11.669835,3.5661643 L11.627691,3.5661643 L9.7349787,5.4588776 L4.8993444,0.62324351 L5.0666013,0.55490673 C5.5510159,0.36389247 6.0585575,0.21878535 6.5838675,0.12495131 C6.8465204,0.078035071 7.1136146,0.043936942 7.3844767,0.023327276 C7.5199089,0.013022465 7.6562829,0.0060896641 7.7935166,0.0026129775 C7.862133,0.00087448902 7.9309645,4.5157563E-08 8,0 z"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- ApplicationName Style -->
    <Style x:Key="ApplicationNameStyle" TargetType="HyperlinkButton">
        <Setter Property="Foreground" Value="{StaticResource NavigationForegroundColorBrush}"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0,2,0,0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect BlurRadius="10" Opacity="0.25" ShadowDepth="0"/>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Links Border Style -->
    <Style x:Key="LinksBorderStyle" TargetType="Border">
        <Setter Property="Height" Value="42"/>
        <Setter Property="Margin" Value="15,0,15,0"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
    </Style>

    <!-- Links StackPanel Style -->
    <Style x:Key="LinksStackPanelStyle" TargetType="StackPanel">
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="Orientation" Value="Horizontal"/>
    </Style>
    <!-- MENU StackPanel Style -->
    <Style x:Key="MenuStackPanelStyle" TargetType="StackPanel">
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Orientation" Value="Horizontal"/>
    </Style>
    <!-- MENU Border Style -->
    <Style x:Key="MenuBorderStyle" TargetType="Border">
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <!--<Setter Property="Orientation" Value="Horizontal"/>-->
    </Style>

    <!-- Link Style -->
    <Style x:Key="LinkStyle" TargetType="HyperlinkButton">
        <Setter Property="Background" Value="{StaticResource HighLightColorBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="#FF9D9492"/>
        <Setter Property="Foreground" Value="{StaticResource NavigationForegroundColorBrush}"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="MinHeight" Value="28"/>
        <Setter Property="MinWidth" Value="78"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="Padding" Value="8,4,8,4"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="HyperlinkButton">
                    <Grid x:Name="ButtonGrid" Cursor="{TemplateBinding Cursor}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.95"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Effect).(DropShadowEffect.BlurRadius)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="10"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveElementBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.8"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Effect).(DropShadowEffect.BlurRadius)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="InteractiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <HorizontalAlignment>Center</HorizontalAlignment>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <VerticalAlignment>Center</VerticalAlignment>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <HorizontalAlignment>Center</HorizontalAlignment>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <VerticalAlignment>Center</VerticalAlignment>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="LinkStates">
                                <VisualState x:Name="ActiveLink">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ActiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="InactiveLink"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0.35"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(Rectangle.RadiusX)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(Rectangle.RadiusY)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Rectangle x:Name="FocusVisualElement" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Opacity="0" Margin="-1" RadiusX="1" RadiusY="1"/>
                        <Border x:Name="ActiveBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1" Opacity="0"/>
                        <Border x:Name="ContentBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" Opacity="1">
                            <ContentPresenter x:Name="ContentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Opacity="1">
                                <ContentPresenter.Effect>
                                    <DropShadowEffect ShadowDepth="0" Color="#FF484848" Opacity="0.65" BlurRadius="0"/>
                                </ContentPresenter.Effect>
                            </ContentPresenter>
                        </Border>
                        <Border x:Name="InteractiveBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" Background="{StaticResource HoverHyperLinkBackgroundColorBrush}" BorderThickness="1,1,1,1" Opacity="0" BorderBrush="{StaticResource HoverHyperLinkBackgroundColorBrush}" CornerRadius="1,1,1,1"/>
                        <Border x:Name="InteractiveElementBorder" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Visibility="Collapsed">
                            <TextBlock x:Name="InteractiveElement" Foreground="{StaticResource HoverHyperlinkForegroundColorBrush}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Text="{TemplateBinding Content}"/>
                        </Border>
                        <TextBlock x:Name="DisabledOverlay" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Text="{TemplateBinding Content}" Foreground="#FFAAAAAA" Visibility="Collapsed"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Divider Style -->
    <Style x:Key="DividerStyle" TargetType="Rectangle">
        <Setter Property="Fill" Value="#1FFFFFFF"/>
        <Setter Property="Stroke" Value="Transparent"/>
        <Setter Property="Width" Value="1"/>
        <Setter Property="Margin" Value="2,4,2,4"/>
    </Style>


    <!-- ******CONTENT PAGE STYLES****** -->
    <!-- ******************************* -->
    <!-- Page Style -->
    <Style x:Key="PageStyle" TargetType="navigation:Page"/>

    <!-- Page ScrollViewer Style -->
    <Style x:Key="PageScrollViewerStyle" TargetType="ScrollViewer">
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0,1,0,1"/>
        <Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
        <Setter Property="HorizontalScrollBarVisibility" Value="Auto"/>
    </Style>

    <!-- Content Panel Style -->
    <Style x:Key="ContentStackPanelStyle" TargetType="StackPanel">
        <Setter Property="Margin" Value="35,0,35,0"/>
    </Style>

    <!-- Header Text Style -->
    <Style x:Key="HeaderTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
        <Setter Property="FontSize" Value="15"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="Margin" Value="0,15,0,4"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
    </Style>

    <!-- Content Text Style -->
    <Style x:Key="ContentTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="Margin" Value="0,2,0,2"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
    </Style>


    <!-- **********LOGIN STYLES********* -->
    <!-- ******************************* -->
    <!-- Login Container Style -->
    <Style x:Key="LoginContainerStyle" TargetType="Border">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="Height" Value="21"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>

    <!-- Login Status Style -->
    <Style x:Key="LoginStatusStyle" TargetType="StackPanel">
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="Margin" Value="0,0,30,0"/>
    </Style>

    <!-- Login Panel Style -->
    <Style x:Key="LoginPanelStyle" TargetType="StackPanel">
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
    </Style>

    <!-- Spacer Style -->
    <Style x:Key="SpacerStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Foreground" Value="#FFFFFFFF"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="6,2"/>
    </Style>

    <!-- Welcome Text Style -->
    <Style x:Key="WelcomeTextStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Foreground" Value="#FFFFFFFF"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Margin" Value="0,2,0,0"/>
    </Style>

    <!-- LoginRegister Link Style -->
    <Style x:Key="LoginRegisterLinkStyle" TargetType="Button">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Margin" Value="0,2,0,2"/>
        <Setter Property="HorizontalContentAlignment" Value="Right"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Foreground" Value="#FFFFFFFF"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Cursor="{TemplateBinding Cursor}" Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Mouseover_Pressed" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Mouseover_Pressed" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <HorizontalAlignment>Center</HorizontalAlignment>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Mouseover_Pressed" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <ContentPresenter x:Name="contentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="Stretch" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        <TextBlock HorizontalAlignment="Stretch" x:Name="Mouseover_Pressed" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Visibility="Collapsed" Canvas.ZIndex="1" Foreground="{StaticResource NavigationBackgroundColorBrush}" Text="{TemplateBinding Content}"/>
                        <TextBlock HorizontalAlignment="Stretch" x:Name="DisabledOverlay" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Visibility="Collapsed" Canvas.ZIndex="1" Foreground="#FFAAAAAA" Text="{TemplateBinding Content}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- DataTemplate for Origins -->
    <DataTemplate x:Key="OriginsDataTemplate">
        <Grid Width="370" Background="#AA000000">
            <TextBlock Foreground="#22ffffff" Margin="4+0,2+0" FontSize="30" Text="{Binding Name}"/>
            <StackPanel HorizontalAlignment="Right" Margin="0, 0, 8, 0">
                <TextBlock Text="count: " Foreground="White"/>
                <TextBlock HorizontalAlignment="Right" Foreground="White" 
                               Text="{Binding Count}" Padding="2"/>
            </StackPanel>
        </Grid>
    </DataTemplate>

    <!-- Login PasswordBox Style -->
    <Style x:Key="PasswordBoxStyle" TargetType="PasswordBox">
        <Setter Property="MaxLength" Value="50"/>
    </Style>

    <!-- Login Controls StackPanel Style -->
    <Style x:Key="LoginControlsStackPanelStyle" TargetType="StackPanel">
        <Setter Property="Margin" Value="0,0,0,8"/>
    </Style>

    <!-- Login Control Style -->
    <Style x:Key="LoginControlStyle" TargetType="StackPanel">
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="Margin" Value="0,4,0,2"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
    </Style>

    <!-- Login Text Style -->
    <Style x:Key="LoginTextStyle" TargetType="TextBlock">
        <Setter Property="Width" Value="60"/>
        <Setter Property="Margin" Value="0,0,6,0"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="TextAlignment" Value="Right"/>
    </Style>

    <!-- Comment Style -->
    <Style x:Key="CommentStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="Margin" Value="3,0,0,0"/>
    </Style>

    <!-- Register Login Link Panel Style -->
    <Style x:Key="RegisterLoginLinkPanelStyle" TargetType="StackPanel">
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Margin" Value="0,3,0,0"/>
    </Style>

    <!-- Button Style -->
    <Style x:Key="ButtonStyle" TargetType="HyperlinkButton">
        <Setter Property="Background" Value="WhiteSmoke"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="FontWeight" Value="ExtraBold"/>
        <Setter Property="Foreground" Value="{StaticResource AtosBlue}"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="MinHeight" Value="28"/>
        <Setter Property="MinWidth" Value="78"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="Padding" Value="8,4,8,4"/>

    </Style>

    <!-- Register Login Button Style -->
    <Style x:Key="RegisterLoginButtonStyle" TargetType="Button">
        <Setter Property="Width" Value="75"/>
        <Setter Property="Height" Value="23"/>
        <Setter Property="Margin" Value="4,0,0,1"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
    </Style>

    <!-- Error Window Style -->
    <Style x:Key="ErrorWindowStyle" TargetType="controls:ChildWindow">
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="TabNavigation" Value="Cycle"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                    <GradientStop Color="#FFA3AEB9" Offset="0"/>
                    <GradientStop Color="#FF8399A9" Offset="0.375"/>
                    <GradientStop Color="#FF718597" Offset="0.375"/>
                    <GradientStop Color="#FF617584" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="OverlayBrush" Value="#7F000000"/>
        <Setter Property="OverlayOpacity" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:ChildWindow">
                    <Grid x:Name="Root">
                        <Grid.Resources>
                            <Style x:Key="ButtonStyle" TargetType="Button">
                                <Setter Property="Background" Value="#FF1F3B53"/>
                                <Setter Property="Foreground" Value="#FF000000"/>
                                <Setter Property="Padding" Value="3"/>
                                <Setter Property="BorderThickness" Value="1"/>
                                <Setter Property="BorderBrush">
                                    <Setter.Value>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                            <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                            <GradientStop Color="#FF718597" Offset="0.375"/>
                                            <GradientStop Color="#FF617584" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="Button">
                                            <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="15" Height="14" Background="#02FFFFFF" x:Name="grid">
                                                <VisualStateManager.VisualStateGroups>
                                                    <VisualStateGroup x:Name="CommonStates">
                                                        <VisualState x:Name="Normal"/>
                                                        <VisualState x:Name="MouseOver">
                                                            <Storyboard>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.95"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Pressed">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.85"/>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Disabled">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                    </VisualStateGroup>
                                                </VisualStateManager.VisualStateGroups>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#14C51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz2" Stroke="#14C51900" Height="8" VerticalAlignment="Center" Opacity="1" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                                                    <Path.RenderTransform>
                                                        <TransformGroup>
                                                            <ScaleTransform ScaleX="1.3" ScaleY="1.3"/>
                                                        </TransformGroup>
                                                    </Path.RenderTransform>
                                                </Path>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#1EC51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz1" Stroke="#1EC51900" Height="8" VerticalAlignment="Center" Opacity="1" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                                                    <Path.RenderTransform>
                                                        <TransformGroup>
                                                            <ScaleTransform ScaleX="1.1" ScaleY="1.1"/>
                                                        </TransformGroup>
                                                    </Path.RenderTransform>
                                                </Path>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#FFC51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz0" Stroke="#FFC51900" Height="8" VerticalAlignment="Center" Opacity="1" Visibility="Collapsed"/>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#FFFFFFFF" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X" Height="8" VerticalAlignment="Center" Opacity="0.7">
                                                    <Path.Stroke>
                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                            <GradientStop Color="#FF313131" Offset="1"/>
                                                            <GradientStop Color="#FF8E9092" Offset="0"/>
                                                        </LinearGradientBrush>
                                                    </Path.Stroke>
                                                </Path>
                                            </Grid>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Grid.Resources>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="WindowStates">
                                <VisualState x:Name="Open">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="Overlay" Storyboard.TargetProperty="Opacity">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                                            <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1"/>
                                            <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" KeyTime="00:00:00.45" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1"/>
                                            <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" KeyTime="00:00:00.45" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Closed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="Overlay" Storyboard.TargetProperty="Opacity">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                                            <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Overlay" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0" Background="{TemplateBinding OverlayBrush}" Opacity="{TemplateBinding OverlayOpacity}"/>
                        <Grid x:Name="ContentRoot" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}" RenderTransformOrigin="0.5,0.5" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Border BorderThickness="1" CornerRadius="2" BorderBrush="#14000000" Background="#14000000" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="-1"/>
                            <Border BorderThickness="1" CornerRadius="2.25" BorderBrush="#0F000000" Background="#0F000000" HorizontalAlignment="Stretch" Margin="-2" VerticalAlignment="Stretch"/>
                            <Border BorderThickness="1" CornerRadius="2.5" BorderBrush="#0C000000" Background="#0C000000" HorizontalAlignment="Stretch" Margin="-3" VerticalAlignment="Stretch"/>
                            <Border BorderThickness="1" CornerRadius="2.75" BorderBrush="#0A000000" Background="#0A000000" HorizontalAlignment="Stretch" Margin="-4" VerticalAlignment="Stretch"/>
                            <Border Background="#FFFFFFFF" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="2">
                                <Border CornerRadius="1.5" Margin="1">
                                    <Border.Background>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFE5E8EB" Offset="1"/>
                                            <GradientStop Color="#FFF6F8F9" Offset="0"/>
                                        </LinearGradientBrush>
                                    </Border.Background>
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Border x:Name="Chrome" Width="Auto" BorderBrush="#FFFFFFFF" BorderThickness="0,0,0,1">
                                            <Border.Background>
                                                <LinearGradientBrush EndPoint="0.5,0.528" StartPoint="0.5,0">
                                                    <GradientStop Color="#FFE5E8EB" Offset="1"/>
                                                    <GradientStop Color="#FFFEFEFE" Offset="0"/>
                                                </LinearGradientBrush>
                                            </Border.Background>
                                            <Grid Height="Auto" Width="Auto">
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition/>
                                                    <ColumnDefinition Width="80"/>
                                                </Grid.ColumnDefinitions>
                                                <ContentControl x:Name="contentControl" Content="{TemplateBinding Title}" 
                          IsTabStop="False" FontWeight="Light" HorizontalAlignment="Stretch" VerticalAlignment="Center" Width="80" Margin="8,4,6,4"/>
                                                <Button x:Name="CloseButton" Grid.Column="1" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Width="15" Height="14" Style="{StaticResource ButtonStyle}"/>
                                            </Grid>
                                        </Border>
                                        <Border x:Name="border" Background="{TemplateBinding Background}" Margin="7" Grid.Row="1">
                                            <ContentPresenter x:Name="ContentPresenter" Content="{TemplateBinding Content}" 
                        ContentTemplate="{TemplateBinding ContentTemplate}"
                        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                        VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                        </Border>
                                    </Grid>
                                </Border>
                            </Border>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- LoginRegistration Window Style -->
    <Style x:Key="LogRegWindowStyle" TargetType="controls:ChildWindow">
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="TabNavigation" Value="Cycle"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                    <GradientStop Color="#FFA3AEB9" Offset="0"/>
                    <GradientStop Color="#FF8399A9" Offset="0.375"/>
                    <GradientStop Color="#FF718597" Offset="0.375"/>
                    <GradientStop Color="#FF617584" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="OverlayBrush" Value="#7F000000"/>
        <Setter Property="OverlayOpacity" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:ChildWindow">
                    <Grid x:Name="Root">
                        <Grid.Resources>
                            <Style x:Key="ButtonStyle" TargetType="Button">
                                <Setter Property="Background" Value="#FF1F3B53"/>
                                <Setter Property="Foreground" Value="#FF000000"/>
                                <Setter Property="Padding" Value="3"/>
                                <Setter Property="BorderThickness" Value="1"/>
                                <Setter Property="BorderBrush">
                                    <Setter.Value>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                            <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                            <GradientStop Color="#FF718597" Offset="0.375"/>
                                            <GradientStop Color="#FF617584" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="Button">
                                            <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="15" Height="14" Background="#02FFFFFF" x:Name="grid">
                                                <VisualStateManager.VisualStateGroups>
                                                    <VisualStateGroup x:Name="CommonStates">
                                                        <VisualState x:Name="Normal"/>
                                                        <VisualState x:Name="MouseOver">
                                                            <Storyboard>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.95"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Pressed">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.85"/>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Disabled">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                    </VisualStateGroup>
                                                </VisualStateManager.VisualStateGroups>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#14C51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz2" Stroke="#14C51900" Height="8" VerticalAlignment="Center" Opacity="1" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                                                    <Path.RenderTransform>
                                                        <TransformGroup>
                                                            <ScaleTransform ScaleX="1.3" ScaleY="1.3"/>
                                                        </TransformGroup>
                                                    </Path.RenderTransform>
                                                </Path>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#1EC51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz1" Stroke="#1EC51900" Height="8" VerticalAlignment="Center" Opacity="1" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                                                    <Path.RenderTransform>
                                                        <TransformGroup>
                                                            <ScaleTransform ScaleX="1.1" ScaleY="1.1"/>
                                                        </TransformGroup>
                                                    </Path.RenderTransform>
                                                </Path>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#FFC51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz0" Stroke="#FFC51900" Height="8" VerticalAlignment="Center" Opacity="1" Visibility="Collapsed"/>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#FFFFFFFF" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X" Height="8" VerticalAlignment="Center" Opacity="0.7">
                                                    <Path.Stroke>
                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                            <GradientStop Color="#FF313131" Offset="1"/>
                                                            <GradientStop Color="#FF8E9092" Offset="0"/>
                                                        </LinearGradientBrush>
                                                    </Path.Stroke>
                                                </Path>
                                            </Grid>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Grid.Resources>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="WindowStates">
                                <VisualState x:Name="Open">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="Overlay" Storyboard.TargetProperty="Opacity">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                                            <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1"/>
                                            <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" KeyTime="00:00:00.45" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1"/>
                                            <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" KeyTime="00:00:00.45" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Closed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="Overlay" Storyboard.TargetProperty="Opacity">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                                            <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="AnimationStates">
                                <VisualState x:Name="AtRegistration">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[0].(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Collapsed" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[1].(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Visible" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="AtLogin">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[1].(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Collapsed" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[0].(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Visible" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualStateGroup.Transitions>
                                    <VisualTransition From="AtRegistration" To="AtLogin">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:00" Value="0" />
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.2500000" Value="90">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <PowerEase EasingMode="EaseIn"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:00.25" Value="-90" />
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <PowerEase EasingMode="EaseOut"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[1].(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00.25" Value="Collapsed" />
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[0].(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00.25" Value="Visible" />
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualTransition>
                                    <VisualTransition From="AtLogin" To="AtRegistration">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:00" Value="0" />
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.2500000" Value="90">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <PowerEase EasingMode="EaseIn"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                                <DiscreteDoubleKeyFrame KeyTime="00:00:00.25" Value="-90" />
                                                <EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0">
                                                    <EasingDoubleKeyFrame.EasingFunction>
                                                        <PowerEase EasingMode="EaseOut"/>
                                                    </EasingDoubleKeyFrame.EasingFunction>
                                                </EasingDoubleKeyFrame>
                                            </DoubleAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[0].(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00.25" Value="Collapsed" />
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="WindowContentPresenter" Storyboard.TargetProperty="(Content).Children[1].(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00.25" Value="Visible" />
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualTransition>
                                </VisualStateGroup.Transitions>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Overlay" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0" Background="{TemplateBinding OverlayBrush}" Opacity="{TemplateBinding OverlayOpacity}"/>
                        <Grid x:Name="ContentRoot" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}" RenderTransformOrigin="0.5,0.5" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}">
                            <Grid.Projection>
                                <PlaneProjection/>
                            </Grid.Projection>
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform />
                                    <SkewTransform />
                                    <RotateTransform />
                                    <TranslateTransform />
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Border BorderThickness="1" CornerRadius="2" BorderBrush="#14000000" Background="#14000000" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="-1"/>
                            <Border BorderThickness="1" CornerRadius="2.25" BorderBrush="#0F000000" Background="#0F000000" HorizontalAlignment="Stretch" Margin="-2" VerticalAlignment="Stretch"/>
                            <Border BorderThickness="1" CornerRadius="2.5" BorderBrush="#0C000000" Background="#0C000000" HorizontalAlignment="Stretch" Margin="-3" VerticalAlignment="Stretch"/>
                            <Border BorderThickness="1" CornerRadius="2.75" BorderBrush="#0A000000" Background="#0A000000" HorizontalAlignment="Stretch" Margin="-4" VerticalAlignment="Stretch"/>
                            <Border Background="#FFFFFFFF" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="2">
                                <Border CornerRadius="1.5" Margin="1">
                                    <Border.Background>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFE5E8EB" Offset="1"/>
                                            <GradientStop Color="#FFF6F8F9" Offset="0"/>
                                        </LinearGradientBrush>
                                    </Border.Background>
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Border x:Name="Chrome" Width="Auto" BorderBrush="#FFFFFFFF" BorderThickness="0,0,0,1">
                                            <Border.Background>
                                                <LinearGradientBrush EndPoint="0.5,0.528" StartPoint="0.5,0">
                                                    <GradientStop Color="#FFE5E8EB" Offset="1"/>
                                                    <GradientStop Color="#FFFEFEFE" Offset="0"/>
                                                </LinearGradientBrush>
                                            </Border.Background>
                                            <Grid Height="Auto" Width="Auto">
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition/>
                                                    <ColumnDefinition Width="30"/>
                                                </Grid.ColumnDefinitions>
                                                <ContentControl x:Name="contentControl" Content="{TemplateBinding Title}" 
                          IsTabStop="False" FontWeight="Bold" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="8,4,6,4"/>
                                                <Button x:Name="CloseButton" Grid.Column="1" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Width="15" Height="14" Style="{StaticResource ButtonStyle}"/>
                                            </Grid>
                                        </Border>
                                        <Border x:Name="border" Background="{TemplateBinding Background}" Margin="7" Grid.Row="1">
                                            <ContentPresenter x:Name="WindowContentPresenter" Content="{TemplateBinding Content}" 
                        ContentTemplate="{TemplateBinding ContentTemplate}"
                        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                        VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                        </Border>
                                    </Grid>
                                </Border>
                            </Border>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- DataForm Style -->
    <Style x:Key="DataFormStyle" TargetType="dataControls:DataForm">
        <Setter Property="MinWidth" Value="380"/>
        <Setter Property="AutoCommit" Value="True"/>
        <Setter Property="AutoGenerateFields" Value="True"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="DescriptionViewerPosition" Value="Auto"/>
        <Setter Property="LabelPosition" Value="Auto"/>
        <Setter Property="HeaderVisibility" Value="Visible"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Margin" Value="0,-4"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataControls:DataForm">
                    <Grid dataControls:DataField.IsFieldGroup="True">
                        <Grid.Resources>
                            <Style x:Key="ButtonGeneric" TargetType="Button">
                                <Setter Property="Background" Value="#00000000"/>
                                <Setter Property="Foreground" Value="#FF000000"/>
                                <Setter Property="BorderBrush" Value="#FFFFFFFF"/>
                                <Setter Property="BorderThickness" Value="1"/>
                                <Setter Property="Padding" Value="1"/>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="Button">
                                            <Grid>
                                                <VisualStateManager.VisualStateGroups>
                                                    <VisualStateGroup x:Name="CommonStates">
                                                        <VisualState x:Name="Normal"/>
                                                        <VisualState x:Name="MouseOver">
                                                            <Storyboard>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="OuterBtnBorder" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#FFFFFFFF"/>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="InnerBtnBorder" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#7FA9A9A9"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Pressed">
                                                            <Storyboard>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="InnerBtnBorder" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#7FA9A9A9"/>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="InnerBtnBorder" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#7FA9A9A9"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Disabled">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Opacity" To="0.3"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                    </VisualStateGroup>
                                                    <VisualStateGroup x:Name="FocusStates">
                                                        <VisualState x:Name="Focused">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Unfocused"/>
                                                    </VisualStateGroup>
                                                </VisualStateManager.VisualStateGroups>
                                                <Border x:Name="OuterBtnBorder" Background="{TemplateBinding Background}" BorderBrush="#00FFFFFF" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3">
                                                    <Border x:Name="InnerBtnBorder" Background="#00A9A9A9" BorderBrush="#00A9A9A9" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
                                                        <ContentPresenter x:Name="contentPresenter" Height="Auto" HorizontalAlignment="Center" VerticalAlignment="Center" Width="Auto" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                                                    </Border>
                                                </Border>
                                                <Border x:Name="FocusVisualElement" Margin="1" Opacity="0" Background="{TemplateBinding Background}" BorderBrush="#FF6DBDD1" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2"/>
                                            </Grid>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                            <Style x:Key="CustomScrollViewerStyle" TargetType="ScrollViewer">
                                <Setter Property="HorizontalContentAlignment" Value="Left"/>
                                <Setter Property="VerticalContentAlignment" Value="Top"/>
                                <Setter Property="BorderThickness" Value="0,1"/>
                                <Setter Property="BorderBrush">
                                    <Setter.Value>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                            <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                            <GradientStop Color="#FF718597" Offset="0.375"/>
                                            <GradientStop Color="#FF617584" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="ScrollViewer">
                                            <Grid>
                                                <Border Margin="0,-1" Opacity="0.2" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                                                    <Border.OpacityMask>
                                                        <LinearGradientBrush EndPoint="1.07,0.5" StartPoint="-0.07,0.5">
                                                            <GradientStop Color="#FF000000"/>
                                                            <GradientStop Color="#7FFFFFFF" Offset="0.5"/>
                                                            <GradientStop Color="#FF000000" Offset="1"/>
                                                        </LinearGradientBrush>
                                                    </Border.OpacityMask>
                                                </Border>
                                                <Grid Background="{TemplateBinding Background}">
                                                    <Grid.ColumnDefinitions>
                                                        <ColumnDefinition Width="*"/>
                                                        <ColumnDefinition Width="Auto"/>
                                                    </Grid.ColumnDefinitions>
                                                    <Grid.RowDefinitions>
                                                        <RowDefinition Height="*"/>
                                                        <RowDefinition Height="Auto"/>
                                                    </Grid.RowDefinitions>
                                                    <ScrollContentPresenter x:Name="ScrollContentPresenter" Cursor="{TemplateBinding Cursor}" Margin="{TemplateBinding Padding}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                                                    <Rectangle Fill="#FFE9EEF4" Grid.Column="1" Grid.Row="1"/>
                                                    <ScrollBar x:Name="VerticalScrollBar" Margin="0,-1" Width="18" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" IsTabStop="False" Grid.Column="1" Grid.Row="0" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{TemplateBinding VerticalOffset}" Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}"/>
                                                    <ScrollBar x:Name="HorizontalScrollBar" Height="18" Margin="-1,0,-1,-1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" IsTabStop="False" Grid.Column="0" Grid.Row="1" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{TemplateBinding HorizontalOffset}" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}"/>
                                                </Grid>
                                            </Grid>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Grid.Resources>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="Disabled"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ModeStates">
                                <VisualState x:Name="Display"/>
                                <VisualState x:Name="Empty">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="IsHitTestVisible">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="False"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Opacity" To="0"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Edit">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="EditButton" Storyboard.TargetProperty="IsEnabled">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="false"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="CommitButton" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="CancelButton" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ValidationStates">
                                <VisualState x:Name="Valid"/>
                                <VisualState x:Name="Invalid"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="CommittedStates">
                                <VisualState x:Name="Committed"/>
                                <VisualState x:Name="Uncommitted">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="ChangeIndicator" Storyboard.TargetProperty="Opacity" To="0.9"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ScopeStates">
                                <VisualState x:Name="Entity"/>
                                <VisualState x:Name="Collection"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="DataFormBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Grid MinHeight="27" Visibility="{TemplateBinding HeaderVisibility}">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition/>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition Width="8"/>
                                    </Grid.ColumnDefinitions>
                                    <StackPanel Orientation="Horizontal">
                                        <ContentControl x:Name="HeaderElement" Margin="0,0,0,0" VerticalAlignment="Center" Foreground="{TemplateBinding Foreground}" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}"/>
                                        <TextBlock x:Name="ChangeIndicator" Margin="3,-2,8,2" VerticalAlignment="Center" Opacity="0" FontWeight="Bold" Foreground="{TemplateBinding Foreground}" Text="*"/>
                                    </StackPanel>
                                    <StackPanel Margin="0,3,0,2" Grid.Column="2" Orientation="Horizontal">
                                        <Button x:Name="FirstItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Grid Height="9" Margin="6,5,5,5" Width="8" Opacity="1">
                                                <Grid.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7FFFFFFF" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Grid.OpacityMask>
                                                <Grid.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" Opacity="1" ShadowDepth="0"/>
                                                </Grid.Effect>
                                                <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Right" Margin="0" Width="5" Opacity="0.85" Data="M1,0 L1,2 L0,1 Z"/>
                                                <Rectangle Fill="{TemplateBinding Foreground}" HorizontalAlignment="Left" Width="2" Opacity="0.85"/>
                                            </Grid>
                                        </Button>
                                        <Button x:Name="PreviousItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" Margin="6,5,8,5" Width="5" Opacity="0.85" Data="M1,0 L1,2 L0,1 Z">
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                            </Path>
                                        </Button>
                                        <Button x:Name="NextItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" Margin="8,5,6,5" Width="5" Opacity="0.85" Data="M0,0 L1,1 L0,2 Z">
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                            </Path>
                                        </Button>
                                        <Button x:Name="LastItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Grid Height="9" Margin="6,5,5,5" Width="8" Opacity="1">
                                                <Grid.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Grid.OpacityMask>
                                                <Grid.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Grid.Effect>
                                                <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Left" Width="5" Opacity="0.85" Data="M0,0 L1,1 L0,2 Z"/>
                                                <Rectangle Fill="{TemplateBinding Foreground}" HorizontalAlignment="Right" Width="2" Opacity="0.85"/>
                                            </Grid>
                                        </Button>
                                        <Border x:Name="ButtonSeparator" Margin="2,4,2,4" Width="3" Opacity="0.2" Background="{TemplateBinding BorderBrush}" BorderBrush="#59FFFFFF" BorderThickness="1,0,1,0"/>
                                        <Button x:Name="EditButton" Style="{StaticResource ButtonGeneric}" ToolTipService.ToolTip="Edit">
                                            <Button.OpacityMask>
                                                <LinearGradientBrush EndPoint="0.57,0.76" StartPoint="0.42,0.01">
                                                    <GradientStop Color="#7F000000" Offset="0"/>
                                                    <GradientStop Color="#BF000000" Offset="0.442"/>
                                                    <GradientStop Color="#FF000000" Offset="1"/>
                                                </LinearGradientBrush>
                                            </Button.OpacityMask>
                                            <Grid Height="19" HorizontalAlignment="Center" VerticalAlignment="Center" Width="19">
                                                <Canvas HorizontalAlignment="Stretch" Margin="2,2,0,0" VerticalAlignment="Stretch">
                                                    <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="10.5" Width="10.56" Canvas.Left="2.53" Canvas.Top="3.01" Data="F1 M 2.53,9.96L 4.96,11.1L 6.08,13.50L 13.09,6.50L 9.6,3L 2.53,9.96 Z ">
                                                        <Path.OpacityMask>
                                                            <LinearGradientBrush EndPoint="0.76,0.77" StartPoint="0.21,0.18">
                                                                <GradientStop Color="#7F000000" Offset="0"/>
                                                                <GradientStop Color="#59000000" Offset="0.106"/>
                                                                <GradientStop Color="#3F000000" Offset="0.387"/>
                                                                <GradientStop Color="#99000000" Offset="0.703"/>
                                                                <GradientStop Color="#CC000000" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.OpacityMask>
                                                    </Path>
                                                    <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="6.74" Width="6.81" Canvas.Left="7.47" Canvas.Top="1.89" Data="M1.41,1.83 L0.71,2.54 L4.20,6.03 L4.91,5.33 z M3.24,0 L6.81,3.42 L3.5,6.74 L0,3.24 z"/>
                                                    <Path Stretch="Fill" Stroke="{TemplateBinding Foreground}" StrokeLineJoin="Round" Height="12.5" Width="12.43" Canvas.Left="2.03" Canvas.Top="1.50" Data="F1 M 13.77,4.22L 11.73,2.18C 11.12,1.78 10.46,2.15 10,2.5L 3.04,9.45C 2.65,9.86 2.53,10.47 2.53,10.73L 2.53,13.5L 5.32,13.5C 5.57,13.5 6.33,13.36 6.64,12.93L 13.54,6.03C 13.86,5.72 14.17,4.74 13.77,4.22 Z"/>
                                                    <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="2.29" Width="2.33" Canvas.Left="2.58" Canvas.Top="11.18" Data="F1 M 2.033,11.71L 4.33,14L 2.62,14C 2.17,13.93 2.09,13.79 2,13.31L 2.03,11.71 Z"/>
                                                </Canvas>
                                            </Grid>
                                        </Button>
                                        <Button x:Name="NewItemButton" Style="{StaticResource ButtonGeneric}" ToolTipService.ToolTip="Add">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Center" Margin="5" VerticalAlignment="Center" Width="9" Opacity="0.85" RenderTransformOrigin="0.5,0.5" Data="F1 M18.41,61.67 L19.56,60.52 L21.92,62.88 L24.22,60.57 L25.36,61.72 L23.06,64.03 L25.43,66.4 L24.22,67.60 L21.87,65.25 L19.56,67.56 L18.41,66.41 L20.73,64.08 L18.41,61.67 z">
                                                <Path.RenderTransform>
                                                    <TransformGroup>
                                                        <ScaleTransform/>
                                                        <SkewTransform/>
                                                        <RotateTransform Angle="45"/>
                                                        <TranslateTransform X="0.18" Y="-0.07"/>
                                                    </TransformGroup>
                                                </Path.RenderTransform>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.35,0.5" StartPoint="-0.27,0.05">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                            </Path>
                                        </Button>
                                        <Button x:Name="DeleteItemButton" Style="{StaticResource ButtonGeneric}" ToolTipService.ToolTip="Delete">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Center" Margin="5,5,5,5" VerticalAlignment="Center" Width="9" Opacity="0.85" RenderTransformOrigin="0.5,0.5" Data="F1 M24.32,60.48 L25.60,61.76 L19.65,67.75 L18.37,66.46 z">
                                                <Path.RenderTransform>
                                                    <TransformGroup>
                                                        <RotateTransform Angle="45"/>
                                                        <TranslateTransform X="0.06" Y="-0.01"/>
                                                    </TransformGroup>
                                                </Path.RenderTransform>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.74,0.66" StartPoint="-0.44,-0.11">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                            </Path>
                                        </Button>
                                    </StackPanel>
                                </Grid>
                                <ScrollViewer Style="{StaticResource CustomScrollViewerStyle}" Background="{x:Null}" IsTabStop="False" Padding="{TemplateBinding Padding}" Grid.Row="1" VerticalScrollBarVisibility="Auto" BorderThickness="0" Margin="0,-8,0,0">
                                    <ContentPresenter x:Name="ContentPresenter" Margin="0,10,0,10"/>
                                </ScrollViewer>
                                <dataInput:ValidationSummary x:Name="ValidationSummary" MaxHeight="100" Padding="1" BorderThickness="1,0,1,1" BorderBrush="#FFDC020D" Grid.Row="2" Margin="0,0,0,13" Visibility="Collapsed"/>
                                <StackPanel HorizontalAlignment="Right" Visibility="Collapsed" Orientation="Horizontal">
                                    <Button x:Name="CommitButton" Margin="0,5,8,5" MinHeight="17" MinWidth="71" Visibility="Collapsed" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="OK"/>
                                    <Button x:Name="CancelButton" Margin="0,5,8,5" MinHeight="17" MinWidth="71" Visibility="Collapsed" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="Cancel"/>
                                </StackPanel>
                            </Grid>
                        </Border>
                        <Border x:Name="DisabledVisual" IsHitTestVisible="False" Opacity="0" Background="#8CFFFFFF" CornerRadius="2"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- LoginDataForm Style -->
    <Style x:Key="LoginDataFormStyle" TargetType="dataControls:DataForm">
        <Setter Property="Width" Value="370"/>
        <Setter Property="AutoCommit" Value="True"/>
        <Setter Property="AutoGenerateFields" Value="True"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="DescriptionViewerPosition" Value="Auto"/>
        <Setter Property="LabelPosition" Value="Auto"/>
        <Setter Property="HeaderVisibility" Value="Collapsed"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Margin" Value="0,0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataControls:DataForm">
                    <Grid dataControls:DataField.IsFieldGroup="True">
                        <Grid.Resources>
                            <Style x:Key="ButtonGeneric" TargetType="Button">
                                <Setter Property="Background" Value="#00000000"/>
                                <Setter Property="Foreground" Value="#FF000000"/>
                                <Setter Property="BorderBrush" Value="#FFFFFFFF"/>
                                <Setter Property="BorderThickness" Value="1"/>
                                <Setter Property="Padding" Value="1"/>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="Button">
                                            <Grid>
                                                <VisualStateManager.VisualStateGroups>
                                                    <VisualStateGroup x:Name="CommonStates">
                                                        <VisualState x:Name="Normal"/>
                                                        <VisualState x:Name="MouseOver">
                                                            <Storyboard>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="OuterBtnBorder" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#FFFFFFFF"/>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="InnerBtnBorder" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#7FA9A9A9"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Pressed">
                                                            <Storyboard>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="InnerBtnBorder" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#7FA9A9A9"/>
                                                                <ColorAnimation Duration="0" Storyboard.TargetName="InnerBtnBorder" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#7FA9A9A9"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Disabled">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Opacity" To="0.3"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                    </VisualStateGroup>
                                                    <VisualStateGroup x:Name="FocusStates">
                                                        <VisualState x:Name="Focused">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                                            </Storyboard>
                                                        </VisualState>
                                                        <VisualState x:Name="Unfocused"/>
                                                    </VisualStateGroup>
                                                </VisualStateManager.VisualStateGroups>
                                                <Border x:Name="OuterBtnBorder" Background="{TemplateBinding Background}" BorderBrush="#00FFFFFF" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3">
                                                    <Border x:Name="InnerBtnBorder" Background="#00A9A9A9" BorderBrush="#00A9A9A9" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
                                                        <ContentPresenter x:Name="contentPresenter" Height="Auto" HorizontalAlignment="Center" VerticalAlignment="Center" Width="Auto" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                                                    </Border>
                                                </Border>
                                                <Border x:Name="FocusVisualElement" Margin="1" Opacity="0" Background="{TemplateBinding Background}" BorderBrush="#FF6DBDD1" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2"/>
                                            </Grid>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                            <Style x:Key="CustomScrollViewerStyle" TargetType="ScrollViewer">
                                <Setter Property="HorizontalContentAlignment" Value="Left"/>
                                <Setter Property="VerticalContentAlignment" Value="Top"/>
                                <Setter Property="BorderThickness" Value="0,1"/>
                                <Setter Property="BorderBrush">
                                    <Setter.Value>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                            <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                            <GradientStop Color="#FF718597" Offset="0.375"/>
                                            <GradientStop Color="#FF617584" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="ScrollViewer">
                                            <Grid>
                                                <Border Margin="0,-1" Opacity="0.2" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                                                    <Border.OpacityMask>
                                                        <LinearGradientBrush EndPoint="1.07,0.5" StartPoint="-0.07,0.5">
                                                            <GradientStop Color="#FF000000"/>
                                                            <GradientStop Color="#7FFFFFFF" Offset="0.5"/>
                                                            <GradientStop Color="#FF000000" Offset="1"/>
                                                        </LinearGradientBrush>
                                                    </Border.OpacityMask>
                                                </Border>
                                                <Grid Background="{TemplateBinding Background}">
                                                    <Grid.ColumnDefinitions>
                                                        <ColumnDefinition Width="*"/>
                                                        <ColumnDefinition Width="Auto"/>
                                                    </Grid.ColumnDefinitions>
                                                    <Grid.RowDefinitions>
                                                        <RowDefinition Height="*"/>
                                                        <RowDefinition Height="Auto"/>
                                                    </Grid.RowDefinitions>
                                                    <ScrollContentPresenter x:Name="ScrollContentPresenter" Cursor="{TemplateBinding Cursor}" Margin="{TemplateBinding Padding}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                                                    <Rectangle Fill="#FFE9EEF4" Grid.Column="1" Grid.Row="2"/>
                                                    <ScrollBar x:Name="VerticalScrollBar" Margin="0,-1" Width="18" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" IsTabStop="False" Grid.Column="1" Grid.Row="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{TemplateBinding VerticalOffset}" Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}"/>
                                                    <ScrollBar x:Name="HorizontalScrollBar" Height="18" Margin="-1,0,-1,-1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" IsTabStop="False" Grid.Column="0" Grid.Row="2" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{TemplateBinding HorizontalOffset}" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}"/>
                                                </Grid>
                                            </Grid>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Grid.Resources>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="Disabled" />
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ModeStates">
                                <VisualState x:Name="Display"/>
                                <VisualState x:Name="Empty">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="IsHitTestVisible">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="False"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Opacity" To="0"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Edit">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="EditButton" Storyboard.TargetProperty="IsEnabled">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="false"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="CommitButton" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="CancelButton" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ValidationStates">
                                <VisualState x:Name="Valid"/>
                                <VisualState x:Name="Invalid"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="CommittedStates">
                                <VisualState x:Name="Committed"/>
                                <VisualState x:Name="Uncommitted">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="ChangeIndicator" Storyboard.TargetProperty="Opacity" To="0.9"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ScopeStates">
                                <VisualState x:Name="Entity"/>
                                <VisualState x:Name="Collection"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="DataFormBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0" Margin="-6,0,-6,0">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Grid MinHeight="27" Visibility="{TemplateBinding HeaderVisibility}">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition/>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition Width="8"/>
                                    </Grid.ColumnDefinitions>
                                    <StackPanel Orientation="Horizontal">
                                        <ContentControl x:Name="HeaderElement" Margin="0,0,0,0" VerticalAlignment="Center" Foreground="{TemplateBinding Foreground}" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}"/>
                                        <TextBlock x:Name="ChangeIndicator" Margin="3,-2,8,2" VerticalAlignment="Center" Opacity="0" FontWeight="Bold" Foreground="{TemplateBinding Foreground}" Text="*"/>
                                    </StackPanel>
                                    <StackPanel Margin="0,3,0,2" Grid.Column="2" Orientation="Horizontal">
                                        <Button x:Name="FirstItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Grid Height="9" Margin="6,5,5,5" Width="8" Opacity="1">
                                                <Grid.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7FFFFFFF" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Grid.OpacityMask>
                                                <Grid.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" Opacity="1" ShadowDepth="0"/>
                                                </Grid.Effect>
                                                <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Right" Margin="0" Width="5" Opacity="0.85" Data="M1,0 L1,2 L0,1 Z"/>
                                                <Rectangle Fill="{TemplateBinding Foreground}" HorizontalAlignment="Left" Width="2" Opacity="0.85"/>
                                            </Grid>
                                        </Button>
                                        <Button x:Name="PreviousItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" Margin="6,5,8,5" Width="5" Opacity="0.85" Data="M1,0 L1,2 L0,1 Z">
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                            </Path>
                                        </Button>
                                        <Button x:Name="NextItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" Margin="8,5,6,5" Width="5" Opacity="0.85" Data="M0,0 L1,1 L0,2 Z">
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                            </Path>
                                        </Button>
                                        <Button x:Name="LastItemButton" Style="{StaticResource ButtonGeneric}">
                                            <Grid Height="9" Margin="6,5,5,5" Width="8" Opacity="1">
                                                <Grid.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.4,0">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Grid.OpacityMask>
                                                <Grid.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Grid.Effect>
                                                <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Left" Width="5" Opacity="0.85" Data="M0,0 L1,1 L0,2 Z"/>
                                                <Rectangle Fill="{TemplateBinding Foreground}" HorizontalAlignment="Right" Width="2" Opacity="0.85"/>
                                            </Grid>
                                        </Button>
                                        <Border x:Name="ButtonSeparator" Margin="2,4,2,4" Width="3" Opacity="0.2" Background="{TemplateBinding BorderBrush}" BorderBrush="#59FFFFFF" BorderThickness="1,0,1,0"/>
                                        <Button x:Name="EditButton" Style="{StaticResource ButtonGeneric}" ToolTipService.ToolTip="Edit">
                                            <Button.OpacityMask>
                                                <LinearGradientBrush EndPoint="0.57,0.76" StartPoint="0.42,0.01">
                                                    <GradientStop Color="#7F000000" Offset="0"/>
                                                    <GradientStop Color="#BF000000" Offset="0.442"/>
                                                    <GradientStop Color="#FF000000" Offset="1"/>
                                                </LinearGradientBrush>
                                            </Button.OpacityMask>
                                            <Grid Height="19" HorizontalAlignment="Center" VerticalAlignment="Center" Width="19">
                                                <Canvas HorizontalAlignment="Stretch" Margin="2,2,0,0" VerticalAlignment="Stretch">
                                                    <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="10.5" Width="10.56" Canvas.Left="2.53" Canvas.Top="3.01" Data="F1 M 2.53,9.96L 4.96,11.1L 6.08,13.50L 13.09,6.50L 9.6,3L 2.53,9.96 Z ">
                                                        <Path.OpacityMask>
                                                            <LinearGradientBrush EndPoint="0.76,0.77" StartPoint="0.21,0.18">
                                                                <GradientStop Color="#7F000000" Offset="0"/>
                                                                <GradientStop Color="#59000000" Offset="0.106"/>
                                                                <GradientStop Color="#3F000000" Offset="0.387"/>
                                                                <GradientStop Color="#99000000" Offset="0.703"/>
                                                                <GradientStop Color="#CC000000" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.OpacityMask>
                                                    </Path>
                                                    <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="6.74" Width="6.81" Canvas.Left="7.47" Canvas.Top="1.89" Data="M1.41,1.83 L0.71,2.54 L4.20,6.03 L4.91,5.33 z M3.24,0 L6.81,3.42 L3.5,6.74 L0,3.24 z"/>
                                                    <Path Stretch="Fill" Stroke="{TemplateBinding Foreground}" StrokeLineJoin="Round" Height="12.5" Width="12.43" Canvas.Left="2.03" Canvas.Top="1.50" Data="F1 M 13.77,4.22L 11.73,2.18C 11.12,1.78 10.46,2.15 10,2.5L 3.04,9.45C 2.65,9.86 2.53,10.47 2.53,10.73L 2.53,13.5L 5.32,13.5C 5.57,13.5 6.33,13.36 6.64,12.93L 13.54,6.03C 13.86,5.72 14.17,4.74 13.77,4.22 Z"/>
                                                    <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="2.29" Width="2.33" Canvas.Left="2.58" Canvas.Top="11.18" Data="F1 M 2.033,11.71L 4.33,14L 2.62,14C 2.17,13.93 2.09,13.79 2,13.31L 2.03,11.71 Z"/>
                                                </Canvas>
                                            </Grid>
                                        </Button>
                                        <Button x:Name="NewItemButton" Style="{StaticResource ButtonGeneric}" ToolTipService.ToolTip="Add">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Center" Margin="5" VerticalAlignment="Center" Width="9" Opacity="0.85" RenderTransformOrigin="0.5,0.5" Data="F1 M18.41,61.67 L19.56,60.52 L21.92,62.88 L24.22,60.57 L25.36,61.72 L23.06,64.03 L25.43,66.4 L24.22,67.60 L21.87,65.25 L19.56,67.56 L18.41,66.41 L20.73,64.08 L18.41,61.67 z">
                                                <Path.RenderTransform>
                                                    <TransformGroup>
                                                        <ScaleTransform/>
                                                        <SkewTransform/>
                                                        <RotateTransform Angle="45"/>
                                                        <TranslateTransform X="0.18" Y="-0.07"/>
                                                    </TransformGroup>
                                                </Path.RenderTransform>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.35,0.5" StartPoint="-0.27,0.05">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                            </Path>
                                        </Button>
                                        <Button x:Name="DeleteItemButton" Style="{StaticResource ButtonGeneric}" ToolTipService.ToolTip="Delete">
                                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" Height="9" HorizontalAlignment="Center" Margin="5,5,5,5" VerticalAlignment="Center" Width="9" Opacity="0.85" RenderTransformOrigin="0.5,0.5" Data="F1 M24.32,60.48 L25.60,61.76 L19.65,67.75 L18.37,66.46 z">
                                                <Path.RenderTransform>
                                                    <TransformGroup>
                                                        <RotateTransform Angle="45"/>
                                                        <TranslateTransform X="0.06" Y="-0.01"/>
                                                    </TransformGroup>
                                                </Path.RenderTransform>
                                                <Path.Effect>
                                                    <DropShadowEffect BlurRadius="8" Color="#FFFFFFFF" Direction="100" ShadowDepth="0"/>
                                                </Path.Effect>
                                                <Path.OpacityMask>
                                                    <LinearGradientBrush EndPoint="0.74,0.66" StartPoint="-0.44,-0.11">
                                                        <GradientStop Color="#7F000000" Offset="0"/>
                                                        <GradientStop Color="#BF000000" Offset="0.25"/>
                                                        <GradientStop Color="#FF000000" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Path.OpacityMask>
                                            </Path>
                                        </Button>
                                    </StackPanel>
                                </Grid>
                                <ScrollViewer Style="{StaticResource CustomScrollViewerStyle}" Background="{x:Null}" IsTabStop="False" Padding="{TemplateBinding Padding}" Grid.Row="2" VerticalScrollBarVisibility="Auto" BorderThickness="0" Margin="0,-8,0,0">
                                    <ContentPresenter x:Name="ContentPresenter" Margin="0,10,0,10"/>
                                </ScrollViewer>
                                <StackPanel Margin="0,0,0,0" Grid.Row="0">
                                    <dataInput:ValidationSummary IsHitTestVisible="False" x:Name="ValidationSummary" MaxHeight="25" Padding="0" BorderThickness="1,1,1,1" BorderBrush="#FFDC020D" Margin="0,0,0,0" Visibility="Visible" Background="#FFDC020D" >
                                        <dataInput:ValidationSummary.Template>
                                            <ControlTemplate TargetType="dataInput:ValidationSummary">
                                                <Grid x:Name="ValidationSummary">
                                                    <VisualStateManager.VisualStateGroups>
                                                        <VisualStateGroup x:Name="CommonStates">
                                                            <VisualState x:Name="Normal"/>
                                                            <VisualState x:Name="Disabled">
                                                                <Storyboard>
                                                                    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="Visibility" Duration="0">
                                                                        <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                                                                    </ObjectAnimationUsingKeyFrames>
                                                                </Storyboard>
                                                            </VisualState>
                                                        </VisualStateGroup>
                                                        <VisualStateGroup x:Name="ValidationStates">
                                                            <VisualState x:Name="Empty">
                                                                <Storyboard>
                                                                    <DoubleAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(FrameworkElement.Height)" Duration="00:00:00.3000000" To="0" />
                                                                </Storyboard>
                                                            </VisualState>
                                                            <VisualState x:Name="HasErrors">
                                                                <Storyboard>
                                                                    <DoubleAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(FrameworkElement.Height)" Duration="00:00:00.3000000" To="50" />
                                                                </Storyboard>
                                                            </VisualState>
                                                        </VisualStateGroup>
                                                    </VisualStateManager.VisualStateGroups>
                                                    <Border x:Name="Content" Height="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0,0,2,2">
                                                        <Grid>
                                                            <Grid.RowDefinitions>
                                                                <RowDefinition Height="Auto"/>
                                                                <RowDefinition Height="*"/>
                                                            </Grid.RowDefinitions>
                                                            <ListBox x:Name="SummaryListBox" Grid.Row="1" Background="{x:Null}" BorderThickness="0" Height="Auto" ItemContainerStyle="{TemplateBinding ErrorStyle}" Style="{TemplateBinding SummaryListBoxStyle}" Padding="{TemplateBinding Padding}" Foreground="{TemplateBinding Foreground}">
                                                                <ListBox.ItemTemplate>
                                                                    <DataTemplate>
                                                                        <TextBlock Text="{Binding Message}" Foreground="White" Margin="4,0,0,0"/>
                                                                    </DataTemplate>
                                                                </ListBox.ItemTemplate>
                                                            </ListBox>
                                                            <Border x:Name="DisabledVisual" Visibility="Collapsed" Background="#80FFFFFF" Grid.RowSpan="2" IsHitTestVisible="True"/>
                                                            <ContentControl x:Name="HeaderContentControl" Visibility="Collapsed"/>
                                                        </Grid>
                                                    </Border>
                                                </Grid>
                                            </ControlTemplate>
                                        </dataInput:ValidationSummary.Template>
                                    </dataInput:ValidationSummary>
                                </StackPanel>
                                <StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Visibility="Collapsed">
                                    <Button x:Name="CommitButton" Margin="0,5,8,5" MinHeight="17" MinWidth="71" Visibility="Collapsed" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="OK"/>
                                    <Button x:Name="CancelButton" Margin="0,5,8,5" MinHeight="17" MinWidth="71" Visibility="Collapsed" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="Cancel"/>
                                </StackPanel>
                            </Grid>
                        </Border>
                        <Border x:Name="DisabledVisual" IsHitTestVisible="False" Opacity="0" Background="#8CFFFFFF" CornerRadius="2"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- BusyIndicatorControl Styles -->
    <Style TargetType="appControls:BusyIndicator" BasedOn="{StaticResource busyIndicatorDefaultStyle}">
        <Setter Property="DisplayAfter" Value="00:00:00.00"/>
        <Setter Property="OverlayStyle">
            <Setter.Value>
                <Style TargetType="Rectangle">
                    <Setter Property="Visibility" Value="Collapsed" />
                </Style>
            </Setter.Value>
        </Setter>
    </Style>
    <!--ChildWindow Style-->

    <Style x:Key="ChildWindowStyle" TargetType="controls:ChildWindow">
        <Setter Property="IsTabStop" Value="false" />
        <Setter Property="TabNavigation" Value="Cycle" />
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
        <Setter Property="VerticalContentAlignment" Value="Stretch" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                    <GradientStop Color="#FFA3AEB9" Offset="0" />
                    <GradientStop Color="#FF8399A9" Offset="0.375" />
                    <GradientStop Color="#FF718597" Offset="0.375" />
                    <GradientStop Color="#FF617584" Offset="1" />
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="OverlayBrush">
            <Setter.Value>
                <SolidColorBrush Color="#7F000000" />
            </Setter.Value>
        </Setter>
        <Setter Property="OverlayOpacity" Value="1" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:ChildWindow">
                    <Grid x:Name="Root">
                        <Grid.Resources>
                            <Style x:Key="ButtonStyle" TargetType="Button">
                                <Setter Property="Background" Value="#FF1F3B53" />
                                <Setter Property="Foreground" Value="#FF000000" />
                                <Setter Property="Padding" Value="3" />
                                <Setter Property="BorderThickness" Value="1" />
                                <Setter Property="BorderBrush">
                                    <Setter.Value>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFA3AEB9" Offset="0" />
                                            <GradientStop Color="#FF8399A9" Offset="0.375" />
                                            <GradientStop Color="#FF718597" Offset="0.375" />
                                            <GradientStop Color="#FF617584" Offset="1" />
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="Button">
                                            <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="15" Height="14" Background="#02FFFFFF" x:Name="grid">
                                                <vsm:VisualStateManager.VisualStateGroups>
                                                    <vsm:VisualStateGroup x:Name="CommonStates">
                                                        <vsm:VisualState x:Name="Normal" />
                                                        <vsm:VisualState x:Name="MouseOver">
                                                            <Storyboard>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.95" />
                                                            </Storyboard>
                                                        </vsm:VisualState>
                                                        <vsm:VisualState x:Name="Pressed">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.85" />
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility">
                                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                                                </ObjectAnimationUsingKeyFrames>
                                                            </Storyboard>
                                                        </vsm:VisualState>
                                                        <vsm:VisualState x:Name="Disabled">
                                                            <Storyboard>
                                                                <DoubleAnimation Duration="0" Storyboard.TargetName="X" Storyboard.TargetProperty="Opacity" To="0.5" />
                                                            </Storyboard>
                                                        </vsm:VisualState>
                                                    </vsm:VisualStateGroup>
                                                </vsm:VisualStateManager.VisualStateGroups>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#14C51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz2" Stroke="#14C51900" Height="8" VerticalAlignment="Center" Opacity="1" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                                                    <Path.RenderTransform>
                                                        <TransformGroup>
                                                            <ScaleTransform ScaleX="1.3" ScaleY="1.3" />
                                                        </TransformGroup>
                                                    </Path.RenderTransform>
                                                </Path>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#1EC51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz1" Stroke="#1EC51900" Height="8" VerticalAlignment="Center" Opacity="1" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                                                    <Path.RenderTransform>
                                                        <TransformGroup>
                                                            <ScaleTransform ScaleX="1.1" ScaleY="1.1" />
                                                        </TransformGroup>
                                                    </Path.RenderTransform>
                                                </Path>
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#FFC51900" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X_Fuzz0" Stroke="#FFC51900" Height="8" VerticalAlignment="Center" Opacity="1" Visibility="Collapsed" />
                                                <Path HorizontalAlignment="Center" Margin="0,-1,0,0" Width="9" Fill="#FFFFFFFF" Stretch="Fill" Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" x:Name="X" Height="8" VerticalAlignment="Center" Opacity="0.7">
                                                    <Path.Stroke>
                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                            <GradientStop Color="#FF313131" Offset="1" />
                                                            <GradientStop Color="#FF8E9092" Offset="0" />
                                                        </LinearGradientBrush>
                                                    </Path.Stroke>
                                                </Path>
                                            </Grid>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Grid.Resources>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="WindowStates">
                                <vsm:VisualState x:Name="Open">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="Overlay" Storyboard.TargetProperty="Opacity">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="0" />
                                            <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="1" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1" />
                                            <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" KeyTime="00:00:00.45" Value="1.05" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1" />
                                            <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" KeyTime="00:00:00.45" Value="1.05" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Closed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="Overlay" Storyboard.TargetProperty="Opacity">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="1" />
                                            <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="ContentRoot" Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Overlay" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0" Background="{TemplateBinding OverlayBrush}" Opacity="{TemplateBinding OverlayOpacity}" />
                        <Grid x:Name="ContentRoot" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}" RenderTransformOrigin="0.5,0.5" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform />
                                    <SkewTransform />
                                    <RotateTransform />
                                    <TranslateTransform />
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Border BorderThickness="1" CornerRadius="2" BorderBrush="#14000000" Background="#14000000" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="-1" />
                            <Border BorderThickness="1" CornerRadius="2.25" BorderBrush="#0F000000" Background="#0F000000" HorizontalAlignment="Stretch" Margin="-2" VerticalAlignment="Stretch" />
                            <Border BorderThickness="1" CornerRadius="2.5" BorderBrush="#0C000000" Background="#0C000000" HorizontalAlignment="Stretch" Margin="-3" VerticalAlignment="Stretch" />
                            <Border BorderThickness="1" CornerRadius="2.75" BorderBrush="#0A000000" Background="#0A000000" HorizontalAlignment="Stretch" Margin="-4" VerticalAlignment="Stretch" />
                            <Border Background="#FFFFFFFF" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="2">
                                <Border CornerRadius="1.5" Margin="1">
                                    <Border.Background>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFE5E8EB" Offset="1" />
                                            <GradientStop Color="#FFF6F8F9" Offset="0" />
                                        </LinearGradientBrush>
                                    </Border.Background>
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition />
                                        </Grid.RowDefinitions>
                                        <Border x:Name="Chrome" Width="Auto" BorderBrush="#FFFFFFFF" BorderThickness="0,0,0,1">
                                            <Border.Background>
                                                <LinearGradientBrush EndPoint="0.5,0.528" StartPoint="0.5,0">
                                                    <GradientStop Color="#FFE5E8EB" Offset="1" />
                                                    <GradientStop Color="#FFFEFEFE" Offset="0" />
                                                </LinearGradientBrush>
                                            </Border.Background>
                                            <Grid Height="Auto" Width="Auto">
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition />
                                                    <ColumnDefinition Width="30" />
                                                </Grid.ColumnDefinitions>
                                                <ContentControl Content="{TemplateBinding Title}" IsTabStop="False" FontWeight="Bold" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="6,0,6,0" />
                                                <Button x:Name="CloseButton" Grid.Column="1" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Width="15" Height="14" Style="{StaticResource ButtonStyle}" />
                                            </Grid>
                                        </Border>
                                        <Border Background="{TemplateBinding Background}" Margin="7" Grid.Row="1">
                                            <ContentPresenter x:Name="ContentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
                                        </Border>
                                    </Grid>
                                </Border>
                            </Border>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Button" >
        <Setter x:Name="myFontColor" Property="Foreground" Value="#000000"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="FontStyle" Value="Normal"/>
        <Setter Property="FontFamily" Value="Arial"/>
        <Setter Property="FontWeight" Value="Normal"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid Height="28">
                        <Border x:Name="myBorder" BorderBrush="#C4C4C4" BorderThickness="1" CornerRadius="5">
                            <Rectangle x:Name="BackgroundGradient" RadiusX="5" RadiusY="5">
                                <Rectangle.Fill>
                                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                        <GradientStop x:Name="GradientStop1" Color="#FDFDFD" Offset="0" />
                                        <GradientStop x:Name="GradientStop2" Color="#D6D6D6" Offset="1" />
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                        </Border>
                        <!-- CONTENT CONTROL HERE -->
                        <ContentControl Name="content" VerticalAlignment="Center" HorizontalAlignment="Center">
                            <ContentPresenter  />
                        </ContentControl>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommomStates">
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimation 
                                        Storyboard.TargetName="GradientStop1"
                                        Storyboard.TargetProperty="Color"
                                        From="#FDFDFD" To="#0A284B" 
                                        Duration="0"
                                        />
                                        <ColorAnimation 
                                        Storyboard.TargetName="GradientStop2"
                                        Storyboard.TargetProperty="Color"
                                        From="#D6D6D6" To="#135887"
                                        Duration="0"
                                        />

                                        <ColorAnimation 
                                        Storyboard.TargetName="myBorder" 
                                        Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)"
                                        From="#C4C4C4" To="#000000" 
                                        Duration="0"
                                />                                        
                                        <!-- ALTERNATIVE WAY 

                                  <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Foreground)" Storyboard.TargetName="content">
                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="White" />
                                                </ObjectAnimationUsingKeyFrames>-->
                                        <ColorAnimation
                                        Storyboard.TargetName="content" 
                                        Storyboard.TargetProperty="(UIElement.Foreground).(SolidColorBrush.Color)"
                                        From="#000000" To="#FFFFFF" 
                                        Duration="0"
                                />
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- A smoothed out ListBoxItem style -->
    <Style x:Key="SmoothListBoxItem" TargetType="ListBoxItem">
        <Setter Property="IsEnabled" Value="true" />
        <Setter Property="Foreground" Value="#FF000000" />
        <Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="VerticalContentAlignment" Value="Top" />
        <Setter Property="Cursor" Value="Arrow" />
        <Setter Property="FontSize" Value="12" />
        <Setter Property="Background" Value="White" />
        <Setter Property="Padding" Value="2,0,0,0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBoxItem">
                    <Grid Background="{TemplateBinding Background}">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="HoverOverlay" Storyboard.TargetProperty="Opacity" To=".75" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="fillStop0Hover" Storyboard.TargetProperty="Color" To="#FFF9FAFA" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="fillStop1Hover" Storyboard.TargetProperty="Color" To="#FFD6DFE7" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="fillStop2Hover" Storyboard.TargetProperty="Color" To="#FFD3E4F5" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="strokeStop0Hover" Storyboard.TargetProperty="Color" To="#00000000" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="strokeStop1Hover" Storyboard.TargetProperty="Color" To="#00000000" Duration="0" />
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="SelectionStates">
                                <vsm:VisualState x:Name="Unselected" />
                                <vsm:VisualState x:Name="Selected">
                                    <Storyboard>
                                        <ColorAnimation Storyboard.TargetName="fillStop0" Storyboard.TargetProperty="Color" To="#FFD9EFFF" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="fillStop1" Storyboard.TargetProperty="Color" To="#FFBDD2E6" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="fillStop2" Storyboard.TargetProperty="Color" To="#FFA1B6CD" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="strokeStop0" Storyboard.TargetProperty="Color" To="#FF77B9EB" Duration="0" />
                                        <ColorAnimation Storyboard.TargetName="strokeStop1" Storyboard.TargetProperty="Color" To="#FF4887CD" Duration="0" />
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>

                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>

                        <Rectangle IsHitTestVisible="False">
                            <Rectangle.Fill>
                                <LinearGradientBrush StartPoint="0.316111,0.0165521" EndPoint="0.316111,0.724833">
                                    <GradientStop x:Name="fillStop0" Color="#00000000" Offset="0"/>
                                    <GradientStop x:Name="fillStop1" Color="#00000000" Offset="0.682203"/>
                                    <GradientStop x:Name="fillStop2" Color="#00000000" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                            <Rectangle.Stroke>
                                <LinearGradientBrush StartPoint="0.318122,0.0360108" EndPoint="0.318122,0.715784">
                                    <GradientStop x:Name="strokeStop0" Color="#00000000" Offset="0"/>
                                    <GradientStop x:Name="strokeStop1" Color="#00000000" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                        <Rectangle x:Name="HoverOverlay" IsHitTestVisible="False" Opacity="0">
                            <Rectangle.Fill>
                                <LinearGradientBrush StartPoint="0.316111,0.0165521" EndPoint="0.316111,0.724833">
                                    <GradientStop x:Name="fillStop0Hover" Color="#00000000" Offset="0"/>
                                    <GradientStop x:Name="fillStop1Hover" Color="#00000000" Offset="0.682203"/>
                                    <GradientStop x:Name="fillStop2Hover" Color="#00000000" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                            <Rectangle.Stroke>
                                <LinearGradientBrush StartPoint="0.318122,0.0360108" EndPoint="0.318122,0.715784">
                                    <GradientStop x:Name="strokeStop0Hover" Color="#00000000" Offset="0"/>
                                    <GradientStop x:Name="strokeStop1Hover" Color="#00000000" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>

                        <Border x:Name="FocusVisual" BorderBrush="#FF0B8BAA" BorderThickness="1" CornerRadius="4" Visibility="Collapsed" IsHitTestVisible="False" />
                        <ContentPresenter
                              Content="{TemplateBinding Content}"
                              ContentTemplate="{TemplateBinding ContentTemplate}"
                              HorizontalAlignment="Left" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- DataTemplate for Photograph instances -->
    <DataTemplate x:Key="PhotographTemplate">
        <Grid Margin="2">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Viewbox Height="70" Width="70" VerticalAlignment="Bottom">
                <Border BorderBrush="#FF999999" BorderThickness="2" Padding="10">
                    <ContentControl Content="{Binding NOM}" />
                </Border>
            </Viewbox>
            <ContentControl Grid.Row="1" Content="{Binding Name}" HorizontalAlignment="Center" FontSize="10" />
        </Grid>
    </DataTemplate>

    <Style x:Key="WrapListBox" TargetType="ListBox">
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Visible" />
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
        <Setter Property="ScrollViewer.Visibility" Value="Visible" />
        <Setter Property="ScrollViewer.IsEnabled" Value="True" />
        <Setter Property="SelectionMode" Value="Extended" />
        <Setter Property="ItemContainerStyle" Value="{StaticResource SmoothListBoxItem}" />
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <controlsToolkit:WrapPanel Orientation="Horizontal" />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBox">
                    <Grid>
                        <Border BorderBrush="#FF000000" BorderThickness="1" CornerRadius="3">
                            <Border Background="{TemplateBinding Background}" BorderBrush="#FFFFFFFF" BorderThickness="2" CornerRadius="3">
                                <ItemsPresenter />
                            </Border>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="DemoExpander" TargetType="controlsToolkit:Expander">
        <Setter Property="Header" Value="Header" />
        <Setter Property="Content" Value="Content" />
        <Setter Property="Margin" Value="5"/>
    </Style>

    <Style x:Name="RatingItemStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Height="30" Width="30" Background="{TemplateBinding Background}" Margin="1">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.1000000" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.735">
                                                <EasingDoubleKeyFrame.EasingFunction>
                                                    <CubicEase EasingMode="EaseIn"/>
                                                </EasingDoubleKeyFrame.EasingFunction>
                                            </EasingDoubleKeyFrame>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1">
                                                <EasingDoubleKeyFrame.EasingFunction>
                                                    <CubicEase EasingMode="EaseIn"/>
                                                </EasingDoubleKeyFrame.EasingFunction>
                                            </EasingDoubleKeyFrame>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.111">
                                                <EasingDoubleKeyFrame.EasingFunction>
                                                    <CubicEase EasingMode="EaseIn"/>
                                                </EasingDoubleKeyFrame.EasingFunction>
                                            </EasingDoubleKeyFrame>
                                        </DoubleAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(Shape.Fill).(RadialGradientBrush.GradientOrigin)">
                                            <EasingPointKeyFrame KeyTime="00:00:00" Value="0.556,0.466">
                                                <EasingPointKeyFrame.EasingFunction>
                                                    <CubicEase EasingMode="EaseIn"/>
                                                </EasingPointKeyFrame.EasingFunction>
                                            </EasingPointKeyFrame>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(Shape.Fill).(RadialGradientBrush.Center)">
                                            <EasingPointKeyFrame KeyTime="00:00:00" Value="0.556,0.466">
                                                <EasingPointKeyFrame.EasingFunction>
                                                    <CubicEase EasingMode="EaseIn"/>
                                                </EasingPointKeyFrame.EasingFunction>
                                            </EasingPointKeyFrame>
                                        </PointAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                            <EasingColorKeyFrame KeyTime="00:00:00" Value="Red">
                                                <EasingColorKeyFrame.EasingFunction>
                                                    <CubicEase EasingMode="EaseIn"/>
                                                </EasingColorKeyFrame.EasingFunction>
                                            </EasingColorKeyFrame>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial"/>
                                <VisualState x:Name="Filled"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border Background="#02FFFFFF" BorderThickness="0"/>
                        <Ellipse x:Name="DefaultRatingItem" Fill="White" Stroke="Black" StrokeLineJoin="Round" StrokeThickness="0.4" Margin="0"/>
                        <inputToolkitPrimitives:LinearClipper RatioVisible="{TemplateBinding DisplayValue}" ExpandDirection="Right">
                            <Ellipse Stroke="Black" StrokeLineJoin="Round" StrokeThickness="0.4" Margin="0" Height="30" Width="30">
                                <Ellipse.Fill>
                                    <RadialGradientBrush RadiusX="0.832" RadiusY="0.832" Center="0.647,0.364" GradientOrigin="0.647,0.364">
                                        <GradientStop Color="Black" Offset="0.9"/>
                                        <GradientStop Color="#FFFFCC00" Offset="0.057"/>
                                    </RadialGradientBrush>
                                </Ellipse.Fill>
                            </Ellipse>
                        </inputToolkitPrimitives:LinearClipper>
                        <Ellipse x:Name="MouseOverRatingItem" Stroke="Black" StrokeLineJoin="Round" StrokeThickness="0.4" Margin="0" Opacity="0">
                            <Ellipse.Fill>
                                <RadialGradientBrush>
                                    <GradientStop Color="Black" Offset="0"/>
                                    <GradientStop Color="White" Offset="1"/>
                                </RadialGradientBrush>
                            </Ellipse.Fill>
                        </Ellipse>
                        <ContentPresenter
								x:Name="Content"
								Cursor="{TemplateBinding Cursor}"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="Left"
								Margin="{TemplateBinding Padding}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RatingItemHateItStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Background="{TemplateBinding Background}" Margin="1" Width="99">
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.1000000" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.305"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <EasingColorKeyFrame KeyTime="00:00:00" Value="Red"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Filled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Face">
                            <Border Background="#02FFFFFF" BorderThickness="0"/>
                            <Ellipse x:Name="ellipse" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="4,2,5,0" Opacity="0"/>
                            <Ellipse x:Name="ellipseMouseOver" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Opacity="0" Margin="4,2,5,0"/>
                            <Path x:Name="path" Fill="#FF231F20" Stretch="Fill" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" UseLayoutRounding="False" 
                                      Data="M11.192618,21.917931 C10.88886,22.110712 10.581356,22.299517 10.063801,22.284624 C9.9953537,22.532438 10.007784,22.701946 10.065031,22.828096 C10.179541,23.080448 10.473337,23.15934 10.658147,23.344515 C10.750546,23.43709 10.815718,23.556229 10.817595,23.736877
C11.021045,23.752304 11.133327,23.679451 11.190515,23.553236 C11.204814,23.521675 11.21567,23.486782 11.223646,23.449099 C11.287478,23.147535 11.167032,22.667517 11.151156,22.287909 C11.147185,22.193003 11.149748,22.104376 11.163357,22.026388 C11.170162,21.987398
11.179727,21.951061 11.192618,21.917931 z M13.613096,20.754253 C13.593586,20.753788 13.574568,20.753832 13.556008,20.754351 C13.407534,20.758509 13.288427,20.793068 13.181241,20.839996 C13.154446,20.851727 13.128396,20.864231 13.102818,20.877224
C12.898194,20.981174 12.723851,21.116507 12.440332,21.138769 C12.369452,21.144339 12.291746,21.142838 12.205034,21.132015 C12.067412,21.283794 12.018307,21.477283 12.017162,21.705515 C12.01659,21.819628 12.028002,21.942423 12.046324,22.073019 C12.050905,22.105671
12.055918,22.138809 12.061283,22.172422 C12.14713,22.710258 12.323227,23.369556 12.264789,24.094528 C12.257482,24.185156 12.246511,24.276808 12.231242,24.369385 C12.223607,24.415672 12.214898,24.462189 12.205034,24.508919 L13.673141,24.508919 L13.673141,20.757219
C13.652611,20.755697 13.632607,20.754721 13.613096,20.754253 z M15.99428,19.56794 C15.663808,19.568672 15.395372,19.636606 15.178885,19.755508 C15.070651,19.814949 14.975399,19.887133 14.891894,19.970009 C14.850137,20.011452 14.811316,20.055565
14.775269,20.102104 C14.488579,20.472237 14.377495,20.995548 14.362842,21.544138 C14.348532,22.079849 14.426177,22.639709 14.52202,23.104628 C14.606513,23.514452 14.705144,23.850521 14.767492,24.031481 C14.776032,24.056271 14.783895,24.078152 14.790945,24.096914
C15.632147,23.883276 16.072475,23.295763 16.282612,22.492971 C16.335146,22.292259 16.373297,22.078072 16.399719,21.852884 C16.41293,21.740295 16.423206,21.624954 16.430889,21.507177 C16.456564,21.113363 16.453184,20.692289 16.433201,20.255508
C16.423298,20.039162 16.409321,19.818962 16.392782,19.596313 C16.298174,19.583328 16.207678,19.574921 16.121141,19.570843 C16.077871,19.568806 16.035591,19.567848 15.99428,19.56794 z M17.852711,18.694956 C17.651859,18.69549 17.4932,18.733522 17.368376,18.801645
C17.337173,18.818674 17.308086,18.837585 17.280981,18.858263 C17.267431,18.868601 17.254375,18.879381 17.2418,18.890587 C17.0406,19.069889 16.962301,19.35844 16.940252,19.696939 C16.934481,19.785536 16.93256,19.87755 16.933296,19.971926 C16.936604,20.395899
16.993542,20.867502 16.995741,21.290358 C16.99621,21.380264 16.994202,21.46797 16.988678,21.552544 C16.985916,21.59483 16.982277,21.636335 16.977627,21.676941 C17.954908,21.114872 18.485592,20.15555 18.590145,18.813278 C18.296562,18.731379 18.053555,18.694422
17.852711,18.694956 z M10.88956,16.871899 L10.96854,16.938967 L10.942087,17.016134 C10.746417,17.535158 10.445521,17.958502 10.110744,18.350952 C10.068898,18.400009 10.026524,18.44858 9.9837589,18.496798 C9.2995567,19.268232 8.5155697,19.948513
8.2029667,21.056074 C8.1248188,21.332949 8.0761223,21.636526 8.065815,21.974939 C8.0606613,22.144133 8.0651016,22.322033 8.0802536,22.509644 C8.4083881,22.465103 8.6461239,22.502304 8.8258801,22.591969 C8.9157505,22.636799 8.991128,22.694759 9.0560474,22.762161
C9.3157377,23.031801 9.4082117,23.452789 9.5926304,23.791122 C9.6387339,23.875702 9.6905823,23.955111 9.7522287,24.025694 C8.0135593,23.927195 8.1974564,21.444294 7.2442656,23.646683 C7.0227337,21.738413 7.3299499,20.310432 8.0097218,19.219814 C8.3495989,18.674505
8.7826262,18.213531 9.2892361,17.81901 C9.542552,17.62174 9.8142653,17.441088 10.101932,17.274818 C10.245768,17.191681 10.393593,17.112137 10.545106,17.035908 C10.620861,16.997793 10.697538,16.960506 10.775098,16.924015 z M9.3342352,14.921822
C9.3885756,15.047418 9.4696274,15.199839 9.5762711,15.369794 L9.6466341,15.478217 L9.6206102,15.462214 C9.4288654,15.334653 9.3071375,15.17201 9.3220921,14.990655 C9.3239613,14.967991 9.3279657,14.945036 9.3342352,14.921822 z M26.779697,12.766008 C25.453882,13.61885
26.081047,16.901445 25.986744,18.456009 L27.568705,18.456009 C27.844465,16.84466 28.723505,13.277656 26.779697,12.766008 z M2.9094505,12.766007 C0.61137694,13.439787 0.93015999,16.055378 1.7428614,18.069006 L3.3022025,18.069006 C3.4781651,17.568426
3.5816991,17.105932 3.6279962,16.663946 C3.6511493,16.442955 3.659986,16.227093 3.6564174,16.014181 C3.6546321,15.907721 3.6497445,15.801991 3.6419926,15.696724 C3.5799689,14.854581 3.3345823,14.041824 3.0273299,13.117947 C2.9889243,13.002461 2.9495518,12.88524
2.9094505,12.766007 z M11.01039,9.2328501 C10.433527,10.980195 10.383425,13.273154 11.428385,14.542809 C10.379429,15.043365 10.115851,13.042412 9.7522287,14.163797 C9.8562145,14.16427 9.9425583,14.180798 10.016288,14.208817 C10.053149,14.222827
10.086857,14.239711 10.118038,14.258896 C10.180395,14.297268 10.232638,14.344851 10.279777,14.397083 C10.303347,14.423199 10.325641,14.450478 10.347284,14.478348 C10.520444,14.701318 10.65205,14.962168 11.062883,14.968943 C11.165597,14.970636 11.285764,14.95645
11.428385,14.921822 C11.517469,14.915899 11.603271,14.906971 11.686284,14.895487 C12.350381,14.803605 12.835843,14.548041 13.394005,14.358091 C13.673085,14.263114 13.97034,14.18454 14.317183,14.151039 C14.490602,14.134285 14.676418,14.1288 14.878562,14.138165
C14.979632,14.142848 15.084784,14.151243 15.194508,14.163797 C14.943261,15.581786 12.147345,14.68695 12.264372,16.43787 C12.35527,16.698872 12.491247,16.903259 12.661747,17.05924 C12.704374,17.098234 12.749157,17.134205 12.795934,17.167278 C13.54435,17.696465
14.803061,17.48432 15.897443,17.060648 C16.444624,16.848801 16.950756,16.584053 17.331493,16.332619 C17.426674,16.26976 17.514023,16.207729 17.592213,16.147572 C17.63131,16.117491 17.668116,16.087875 17.702471,16.058857 C17.687319,15.96222
17.658258,15.87813 17.618761,15.80346 C17.460777,15.504796 17.135855,15.356832 16.866566,15.158573 C16.731928,15.059447 16.611197,14.947737 16.532202,14.798331 C16.492704,14.72363 16.463642,14.639499 16.44849,14.542809 C16.722261,14.705775 17.028971,14.838913
17.344891,14.963631 C17.581821,15.057168 17.82394,15.145978 18.061232,15.2391 C18.694014,15.48743 19.292475,15.766426 19.667038,16.247614 C19.713856,16.30776 19.757174,16.371067 19.796621,16.43787 C18.174604,15.603941 18.220207,17.529474 16.866484,17.957708
L18.960632,17.957708 C18.964813,17.826952 18.954624,17.70948 18.933529,17.602016 C18.891338,17.387102 18.805513,17.21225 18.70376,17.051254 C18.652882,16.970757 18.598019,16.893724 18.542639,16.816881 C20.649464,16.688398 21.948723,19.277159 21.050602,20.610794
C21.022646,20.588787 20.997683,20.564066 20.975166,20.537132 C20.795042,20.321592 20.771641,19.963873 20.629143,19.71406 C20.557899,19.589165 20.456861,19.491236 20.291544,19.451544 C20.208887,19.431705 20.110168,19.426434 19.991083,19.439623
C19.931534,19.446222 19.866894,19.457438 19.796621,19.473757 C19.750118,19.700285 19.689371,19.913872 19.61701,20.116903 C19.472271,20.522993 19.28105,20.886883 19.064217,21.227646 C18.955797,21.398027 18.840981,21.562624 18.722376,21.723808 C18.425861,22.12677
18.105673,22.508442 17.802628,22.90597 C17.681408,23.064981 17.562935,23.22653 17.449814,23.392996 C17.393255,23.476231 17.338034,23.560694 17.284477,23.646683 C17.844534,23.703501 18.547178,22.103931 18.960632,23.26767 C17.652258,25.102154 14.484146,28.729485
11.846378,25.920755 C14.03276,26.561306 16.465256,26.041843 16.866484,24.025694 C15.666681,25.50782 13.797306,25.724792 12.168774,25.178185 C12.066986,25.14402 11.96614,25.106873 11.866456,25.066864 C11.068986,24.746794 10.345967,24.243576 9.8112268,23.619892
C9.5438595,23.308039 9.3235607,22.96607 9.1645517,22.601784 C9.0850506,22.419636 9.020874,22.231934 8.9738016,22.039619 C8.9502649,21.943466 8.9310045,21.846161 8.9162416,21.747829 C9.1377764,21.5697 9.3780575,21.408497 9.6319361,21.259567
C9.7588739,21.185104 9.8892088,21.11371 10.022298,21.044802 C10.554661,20.769163 11.131094,20.533293 11.710367,20.299891 C12.217239,20.095661 12.726301,19.893301 13.209943,19.667839 C13.762675,19.410166 14.282213,19.122305 14.72732,18.766943 C14.838598,18.678102
14.945228,18.585043 15.046559,18.487185 C15.097226,18.438255 15.146569,18.388124 15.194508,18.336721 C15.091967,18.346445 14.990539,18.353209 14.890237,18.357153 C13.285461,18.420292 11.969351,17.762444 11.013499,16.977144 L10.96854,16.938967 L11.01039,16.816881
L10.88956,16.871899 L10.838524,16.82856 C10.383283,16.429134 10.019217,16.007113 9.7552948,15.636737 C9.7223053,15.59044 9.6908798,15.544949 9.6610365,15.500411 L9.6466341,15.478217 L9.695673,15.508375 C10.112137,15.745448 10.775498,15.83387
11.15274,15.641961 C11.247057,15.593985 11.323498,15.528482 11.373731,15.443398 C11.398849,15.400858 11.417414,15.353421 11.428385,15.300834 C10.611288,15.57086 9.9552622,15.392219 9.4600821,15.003373 C9.39818,14.954764 9.3387938,14.902871 9.2819176,14.848161
C8.3718767,13.972743 8.1047783,12.375702 8.4776497,11.964287 C8.5708532,11.861447 8.7040663,11.832707 8.8772306,11.90788 C8.9638081,11.94547 9.0603752,12.009033 9.1669264,12.102301 C9.2202005,12.148935 9.2759714,12.202997 9.3342352,12.264947 C9.4084301,12.142713
9.4646015,12.004138 9.5092983,11.855151 C9.6880941,11.259232 9.6833839,10.496759 9.9146795,9.9477129 C10.030333,9.6732016 10.204992,9.4520311 10.491092,9.3317327 C10.634144,9.2715797 10.805058,9.2366381 11.01039,9.2328501 z M10.170222,7.3339996
C10.707367,7.3871593 11.179164,7.624094 11.6059,7.944428 C11.712587,8.0245152 11.816457,8.1098127 11.917827,8.1987562 C11.968512,8.2432289 12.018571,8.2886124 12.068046,8.3347101 C12.166994,8.4269075 12.2636,8.521966 12.358181,8.6183167 C12.405472,8.6664915
12.452256,8.7149906 12.498573,8.7636166 C13.239645,9.5416336 13.861189,10.352217 14.525205,10.392468 C14.608205,10.3975 14.691866,10.390494 14.776514,10.369886 C14.450446,10.112494 13.685522,8.1109848 15.194508,8.4748259 C16.042963,8.7135887 15.469956,10.248608
16.44849,10.369886 C17.468275,9.7066898 19.733841,7.2315254 21.050602,9.2328501 C21.018679,9.2986994 20.969591,9.3489704 20.907993,9.3879061 C20.877197,9.4073744 20.843275,9.4240074 20.80681,9.4383354 C20.515106,9.5529604 20.060724,9.5200367 19.742575,9.610507
C19.583494,9.6557379 19.458466,9.7318153 19.404861,9.8726158 C19.391457,9.907814 19.382517,9.9470558 19.378626,9.9908743 C19.682774,10.062905 19.810999,10.294348 19.851355,10.605471 C19.871534,10.761042 19.86974,10.936546 19.856953,11.122005 C19.850559,11.214738
19.841419,11.30996 19.830906,11.406427 C19.746798,12.178193 19.574768,13.029629 20.018139,13.323118 C20.073555,13.359801 20.13859,13.387768 20.214615,13.405773 C20.223499,13.334704 20.227804,13.259492 20.229647,13.182053 C20.237024,12.872288
20.205027,12.526887 20.269114,12.26854 C20.301163,12.139371 20.357224,12.03196 20.454245,11.961652 C20.502756,11.926497 20.561502,11.900621 20.632608,11.885935 C21.560493,13.197292 20.469616,15.376641 18.542639,15.300834 C18.516512,15.274672 18.493515,15.246712
18.473427,15.21705 C18.312735,14.979757 18.338282,14.633569 18.439182,14.22693 C18.464409,14.125265 18.494343,14.019821 18.527256,13.911351 C18.609539,13.64018 18.710421,13.350107 18.802837,13.052955 C19.098551,12.102061 19.307598,11.078632 18.542639,10.369886
C17.196587,10.798214 18.483952,13.606622 16.44849,13.405773 C16.08589,13.450301 15.88969,13.343946 15.783491,13.155922 C15.730394,13.06191 15.699796,12.947478 15.682141,12.821287 C15.677729,12.789739 15.674125,12.757456 15.671181,12.724573
C15.665295,12.658807 15.662047,12.590641 15.660247,12.521157 C15.659347,12.486415 15.658808,12.451344 15.658481,12.416078 C15.653262,11.851821 15.702374,11.237818 15.194508,11.127911 C13.464047,11.203717 14.237234,13.549783 12.264372,13.405773 C12.194355,13.294905
12.137125,13.180728 12.090696,13.063952 C11.904976,12.596856 11.892036,12.088159 11.924783,11.583771 C11.945243,11.268538 11.983559,10.954978 12.008689,10.654306 C12.089107,9.6921301 12.0345,8.8619757 10.828154,8.5309553 C10.752757,8.5102663 10.67286,8.4915266
10.588217,8.4748259 C9.9277859,9.3920336 9.0918083,10.150054 8.0802536,10.748899 C8.0374079,10.267553 8.1071539,9.8885307 8.2457523,9.5719814 C8.3150454,9.4137144 8.401556,9.2710619 8.4997988,9.1390524 C8.5489225,9.0730486 8.6009798,9.0097008
8.6552877,8.9483929 C9.0897655,8.4579144 9.6683187,8.0978022 10.040856,7.5491886 C10.087424,7.4806128 10.130774,7.40909 10.170222,7.3339996 z M18.766712,2.0910048 C17.7756,2.5979071 19.50078,4.1126723 20.123161,3.2797401 C19.815351,2.7550602 18.874996,2.7877061
18.766712,2.0910048 z M13.859345,1.4949113 C13.916088,1.6258301 13.955097,1.7375308 13.97862,1.8323411 C13.99038,1.8797483 13.998269,1.9229335 14.002566,1.962189 L14.005686,2.0082941 L13.991451,1.9653733 C13.949337,1.8337466 13.905431,1.6779754 13.859345,1.4949113
z M13.528729,0.9940182 C12.219081,0.99128121 11.099017,1.3923485 10.634396,2.7671399 C10.576321,2.9389801 10.528483,3.126039 10.491801,3.3294201 C10.473457,3.4311118 10.457901,3.5368831 10.445251,3.6468761 C11.242294,3.933326 12.009539,4.2448382
13.006888,4.3630047 C12.725577,3.8831947 12.09467,3.6969986 11.301971,3.6468761 C11.247623,3.4633524 11.352867,3.2677605 11.521478,3.0867856 C11.563634,3.041537 11.609756,2.9972022 11.658334,2.9541981 C11.852654,2.7821782 12.086325,2.6314318 12.263196,2.5286438
C12.285305,2.5157957 12.306526,2.5036967 12.326672,2.4923992 L12.337639,2.4863527 L12.351082,2.4799118 C12.403553,2.4546304 12.44348,2.4348404 12.472337,2.420136 C12.587787,2.3613079 12.526098,2.3838501 12.383694,2.4609642 L12.337639,2.4863527
L12.309338,2.4999137 C12.265194,2.5209599 12.213766,2.5451591 12.154428,2.572684 C12.027095,2.346664 11.972412,2.1930275 11.97245,2.0931301 C11.972466,2.0431824 11.986156,2.0066714 12.011288,1.9812597 C12.212283,1.7779925 13.145123,2.2852204 13.661028,2.3088603
C13.790007,2.3147695 13.892926,2.2904577 13.951838,2.217253 C13.981297,2.1806521 13.999753,2.1318285 14.004964,2.0684574 C14.006267,2.0526137 14.006742,2.0358605 14.006353,2.0181611 L14.005686,2.0082941 L14.022707,2.0596178 C14.105198,2.2991452 14.180907,2.4452205
14.252967,2.5230498 C14.288997,2.5619717 14.324116,2.583823 14.35871,2.5917573 C14.376008,2.595726 14.393176,2.5962148 14.41026,2.5936179 C14.418803,2.5923195 14.427325,2.5902493 14.435833,2.5874572 C14.708071,2.4981062 14.965514,1.6690598
15.408211,1.7111862 C15.518856,1.721716 15.64109,1.7867026 15.777987,1.9312891 C15.846438,2.003583 15.918568,2.095782 15.994756,2.2110398 C16.357031,2.2790551 16.395842,2.0713913 16.420986,1.8529755 C16.339991,1.5486101 16.587217,1.5163958 16.847214,1.4949113
C16.683386,1.4595535 16.516602,1.4232718 16.347788,1.3871783 C15.672514,1.2428088 14.964634,1.1014767 14.282398,1.0343976 C14.111832,1.0176287 13.942869,1.0055004 13.776415,0.99912542 C13.693189,0.99593842 13.610587,0.99418962 13.528729,0.9940182 z M14.210239,0.25009602
C15.594469,0.2559624 17.008791,0.53086019 18.318645,0.99903858 C18.482361,1.0575563 18.644453,1.1190931 18.804644,1.1835004 C20.086159,1.6987622 21.246338,2.3977115 22.15073,3.2046096 C22.376818,3.4063203 22.586933,3.6147766 22.778946,3.8287983
C22.875824,3.8163366 22.976013,3.8040688 23.079014,3.7922928 C23.903036,3.6980789 24.906801,3.635335 25.830206,3.7559769 C26.291904,3.8162966 26.733517,3.9224613 27.122583,4.0934877 C27.317106,4.1789994 27.498461,4.2807069 27.662622,4.4010162 C27.744696,4.4611654
27.822466,4.5259638 27.89543,4.595706 C26.344517,4.8602972 24.218195,4.6144233 23.631058,5.746068 C24.290598,7.7089977 25.505257,9.1743002 25.335274,11.884783 C25.421818,11.870882 25.505299,11.859753 25.585999,11.851133 C26.231688,11.782164
26.699709,11.873787 27.138334,11.99182 C27.193167,12.006575 27.247538,12.021741 27.301741,12.037059 C27.518543,12.098329 27.732635,12.16201 27.962503,12.211334 C28.077438,12.235994 28.196337,12.257067 28.321487,12.272453 C28.790152,13.104404 29.031927,14.030318
29.075811,14.943768 C29.086775,15.172102 29.085375,15.399652 29.072062,15.624744 C29.065405,15.737289 29.055765,15.849221 29.043207,15.960334 C28.842247,17.738157 27.893259,19.305563 26.427473,19.809742 C26.061071,19.935802 25.662388,19.99542 25.235044,19.975264
C25.128206,19.970224 25.019577,19.960199 24.909218,19.944983 C24.205727,25.068583 21.227224,28.147585 16.379189,29.539 C24.996557,25.089624 27.506531,13.942445 21.92215,5.746068 C20.954994,6.5849061 19.800838,6.8901811 18.594868,6.8808579 C17.991808,6.8762002
17.375736,6.7928758 16.763643,6.6582804 C16.610601,6.624629 16.457806,6.5877728 16.305511,6.5481353 C15.087172,6.2310534 13.901163,5.7361531 12.882449,5.2823195 C12.30942,5.0270391 11.789339,4.7847648 11.346173,4.5944276 C10.952286,4.4252524
10.619154,4.2971196 10.363694,4.2373877 C10.235967,4.2075262 10.127662,4.1947665 10.040874,4.2025294 C10.019177,4.2044702 9.998826,4.2076936 9.9798536,4.2122531 C9.6240101,4.2974944 9.2107582,4.7502313 8.7898979,5.4166155 C8.6846647,5.58323 8.5789528,5.7632165
8.473546,5.9541578 C7.6302567,7.4816861 6.8062272,9.7108202 6.4003172,11.412432 C6.2988405,11.837835 6.2234945,12.230256 6.1805182,12.570514 C6.1590281,12.740652 6.1456308,12.897727 6.1411047,13.039362 C6.0953045,13.048685 6.0509677,13.054608 6.0080466,13.057662
C5.6646485,13.082092 5.4118037,12.922787 5.2239738,12.850111 C5.1300359,12.81377 5.0523396,12.799097 4.9877133,12.839839 C4.9554014,12.860215 4.9263391,12.894447 4.9001389,12.946783 C4.8870401,12.972945 4.8746581,13.003631 4.8629432,13.039362
C4.5944643,20.51478 7.0497494,28.672411 15.953134,29.155546 C13.073622,30.096809 10.42205,28.919945 8.3235683,26.800804 C8.0612755,26.535929 7.8076234,26.25633 7.5632439,25.964319 C7.4410505,25.818312 7.321178,25.669199 7.2037024,25.517271 C6.263907,24.301884
5.4774904,22.906158 4.8848691,21.477074 C4.5886025,20.762609 4.3407617,20.039774 4.1464481,19.327005 C4.0978718,19.148817 4.0526409,18.971264 4.0108347,18.794621 C3.854785,18.837811 3.7172437,18.875591 3.593601,18.907986 C3.5317719,18.924179 3.4734151,18.939024
3.4179485,18.95252 C2.9742072,19.060493 2.715523,19.082087 2.3458569,19.0173 C2.161005,18.984913 1.9484159,18.930916 1.6710098,18.855352 C1.6016622,18.836458 1.5282674,18.816216 1.4502484,18.794621 C-0.74461788,16.41684 0.048983593,11.892472 4.0108347,11.884783
C4.0827322,11.470222 4.1680083,11.067636 4.2649441,10.675487 C4.6526847,9.106885 5.2269597,7.7052402 5.8775268,6.3718719 C6.2028055,5.7051864 6.5471644,5.0555615 6.896811,4.4106741 C7.0716343,4.0882297 7.2477813,3.7669666 7.4235282,3.4453442
C7.4016929,3.3528385 7.3594217,3.2787218 7.3028936,3.2174356 C7.2746296,3.1867921 7.2428012,3.1593568 7.2081847,3.1344326 C6.9312491,2.9350433 6.475687,2.8963809 6.2372227,2.6622651 C6.1179891,2.5452137 6.0530324,2.3793087 6.0918026,2.1199927 C6.1014957,2.055167
6.117672,1.9845045 6.1411047,1.9073114 C6.4148355,1.6524153 6.6446462,1.496702 6.8454928,1.3896246 C6.8957038,1.362855 6.9441047,1.3391238 6.990931,1.3176421 C7.3654971,1.1458083 7.6391873,1.1179721 7.9320021,0.82935548 C8.0051842,0.75722659 8.079546,0.66880995
8.1569729,0.55778193 C8.1956835,0.50226867 8.2351618,0.44110331 8.2756367,0.37349552 C8.5307531,0.38451955 8.7169342,0.41406733 8.848114,0.45916742 C8.9137058,0.48172045 8.9655342,0.50816262 9.0053511,0.53812289 C9.0252542,0.55310428 9.04216,0.5689649
9.0562725,0.58565956 C9.1691742,0.71921641 9.1036453,0.90613246 8.9707079,1.1227331 C8.9374743,1.1768839 8.9000282,1.2328885 8.8601017,1.2903776 C8.8002138,1.3766131 8.7347536,1.4661893 8.669569,1.5578587 C8.4957514,1.8023217 8.3239365,2.0616469
8.265152,2.3121848 C8.2357597,2.4374566 8.2346287,2.5605257 8.2756367,2.678437 C9.2075968,1.60958 10.388116,0.9329915 11.682479,0.57291549 C12.329699,0.39286897 13.005408,0.2919437 13.692773,0.26065525 C13.86462,0.25283229 14.037198,0.24936199 14.210239,0.25009602
z"/>
                        </Grid>

                        <ContentPresenter Grid.Row="1"
                               x:Name="Content"
                               Cursor="{TemplateBinding Cursor}"
                               Content="{TemplateBinding Content}"
                               ContentTemplate="{TemplateBinding ContentTemplate}"
                               HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                               Margin="{TemplateBinding Padding}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RatingItemBoredStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Background="{TemplateBinding Background}" Margin="1" Width="50">
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.1000000" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.305"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <EasingColorKeyFrame KeyTime="00:00:00" Value="Red"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Filled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Face">
                            <Border Background="#02FFFFFF" BorderThickness="0"/>
                            <Ellipse x:Name="ellipse" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="8,2,8,1" Opacity="0"/>
                            <Ellipse x:Name="ellipseMouseOver" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Opacity="0" Margin="6,0,8,0" Height="47" VerticalAlignment="Top"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="-0.105,-0.137,0,1.325" UseLayoutRounding="False" Data="M26.237946,19.852446 C26.50115,19.857412 26.740175,19.883265 26.960863,19.924959 C27.843678,20.091742 28.433006,20.512058 29.101202,20.863348 C29.43531,21.038992 29.789143,21.197397 30.209232,21.298235 L30.209232,24.780724 C30.109919,24.862326 30.005568,24.94174
29.896561,25.018871 C28.152536,26.252922 25.218481,26.901661 22.711409,26.565176 C21.457756,26.396893 20.310905,25.9823 19.472828,25.271427 C19.053785,24.915966 18.711912,24.486431 18.472502,23.976572 C18.352808,23.721653 18.258709,23.446648 18.193392,23.150768
C18.16073,23.002838 18.135267,22.849688 18.117388,22.691229 C19.002008,20.666378 23.230732,19.015585 24.567171,21.298235 C21.561413,21.019545 19.840994,21.855804 19.735243,24.084225 C22.490244,25.127985 27.706707,25.240416 28.598587,22.691229 C28.992846,20.491337
24.598248,22.433933 25.37009,19.905239 C25.687433,19.8634 25.974779,19.847479 26.237946,19.852446 z M44.727043,19.045824 C44.56675,19.042547 44.399853,19.047258 44.226215,19.060476 C43.940559,19.444876 43.726292,20.030916 43.583504,20.717813
C43.547798,20.889545 43.516556,21.067583 43.489777,21.250355 C43.275539,22.712559 43.346966,24.477642 43.704014,25.739639 C43.793278,26.055151 43.900398,26.339214 44.025368,26.579269 C44.087864,26.699297 44.154816,26.808311 44.226215,26.904737 C44.753677,26.907881
45.236126,26.781082 45.665707,26.557562 C45.880474,26.445808 46.08205,26.309866 46.269394,26.153931 C46.363087,26.075958 46.453209,25.992981 46.539654,25.905521 C47.922989,24.506195 48.365925,21.958719 47.367878,20.392811 C46.868694,19.60973
46.009315,19.0721 44.727043,19.045824 z M2.6305475,18.450787 C2.2838683,18.885115 2.0599244,19.478745 1.9316618,20.153454 C1.8675283,20.490803 1.8273145,20.848423 1.8076428,21.216532 C1.7978055,21.400585 1.7931044,21.587261 1.7931159,21.775331 C1.7932045,23.279892
2.0948784,24.873947 2.4818609,25.931578 C2.5302308,26.063768 2.5799341,26.187578 2.6305475,26.301786 L5.5475883,26.301786 C5.2123427,22.141451 7.6551805,19.061047 2.6305475,18.450787 z M30.268539,8.2749023 C31.595663,8.288269 32.931465,8.6484032
33.899906,9.3308935 C34.384106,9.6720943 34.77647,10.093895 35.029984,10.593193 C35.156734,10.842834 35.248775,11.111859 35.300228,11.399883 C35.325954,11.543893 35.34153,11.69265 35.346222,11.84611 C35.348568,11.922839 35.348194,12.000744 35.345009,12.079818
C32.005764,9.4810867 27.671659,9.1636982 25.466417,12.832957 C24.849939,9.7895803 27.37096,8.3365774 30.019899,8.2764635 C30.102684,8.2745848 30.185595,8.274066 30.268539,8.2749023 z M22.317604,8.2692347 C22.558735,8.2681246 22.807333,8.2735968 23.063528,8.2857599
C23.173323,8.2909727 23.284513,8.2974138 23.397106,8.3050919 C23.471743,8.4030962 23.578438,8.5292931 23.703276,8.6770954 C23.765699,8.7509995 23.832661,8.830307 23.902428,8.914196 C24.460541,9.5853367 25.197948,10.549718 25.225229,11.386532 C25.238855,11.804977
25.074966,12.191541 24.622398,12.493644 C24.509243,12.56918 24.378048,12.639431 24.227081,12.703583 C23.248365,11.613686 23.513554,9.4254799 20.907181,9.768343 C20.261848,9.8731642 19.802212,10.140967 19.432156,10.487173 C19.339645,10.573721
19.252728,10.66517 19.169907,10.760193 C19.004261,10.95024 18.85498,11.154596 18.710037,11.362687 C18.601332,11.518756 18.49506,11.676926 18.386147,11.832734 C18.095722,12.248231 17.786516,12.646931 17.36228,12.944254 C17.150162,13.092911 16.909281,13.216233
16.627602,13.303633 C16.486761,13.347334 16.335722,13.382054 16.172977,13.406472 C16.091606,13.418682 16.007307,13.428316 15.919894,13.435209 C15.97864,12.945193 16.072508,12.486134 16.203421,12.059735 C16.677296,10.516346 17.636751,9.4007988 19.173725,8.7945137
C19.93927,8.4925451 20.848074,8.3168898 21.911533,8.2775688 C22.044466,8.2726536 22.179815,8.2698698 22.317604,8.2692347 z M13.726182,6.1726294 C13.294926,6.1634855 12.923382,6.2550879 12.601221,6.4246907 C12.560951,6.4458919 12.521452,6.4683113
12.482705,6.4919052 C11.242821,7.2468953 10.772497,9.2044172 10.411074,10.908853 C10.230371,11.761053 10.076884,12.549996 9.8680658,13.093654 C9.6942282,13.549427 9.442626,14.003848 9.1583977,14.457395 C9.0162821,14.684166 8.8660116,14.910719 8.7132263,15.137111
C8.4840441,15.476708 8.2492027,15.815945 8.0277452,16.155024 C7.732471,16.607132 7.460979,17.058964 7.2584043,17.511009 C7.1571183,17.737034 7.0730677,17.963099 7.0118837,18.18928 C6.9812927,18.30237 6.9564199,18.415489 6.9379692,18.528645 C4.4844341,33.539661
14.68827,45.896484 26.003273,45.130165 C28.089613,44.988205 29.993261,44.42511 31.702095,43.53009 C32.129292,43.306339 32.544334,43.061832 32.947002,42.797958 C39.389511,38.576195 42.667358,29.397194 42.005016,20.956429 C41.673847,16.736063
40.357666,12.699969 37.959492,9.5600386 C37.35997,8.7750626 36.692837,8.0460968 35.956551,7.3842692 C35.588417,7.0533514 35.203007,6.7392254 34.800121,6.4432735 C29.460728,7.6387434 23.088741,8.1835022 17.93239,6.4432735 C17.834198,6.5068941 17.737099,6.57548
17.641012,6.6487699 C16.872328,7.2350712 16.168413,8.1222563 15.486496,9.1749649 C15.145547,9.7013073 14.810101,10.269017 14.47482,10.861181 C14.013813,11.675395 13.553112,12.535826 13.078828,13.39847 C12.432082,14.574806 11.760086,15.755243 11.027612,16.828232
C10.636956,17.400494 10.229103,17.942188 9.7987127,18.436382 C9.5835133,18.683483 9.3626795,18.918709 9.1355419,19.139946 C8.8168478,18.465097 8.7911787,17.919298 8.921382,17.409563 C8.9864855,17.154686 9.0905685,16.908806 9.2164841,16.660318
C9.2794409,16.53607 9.3478575,16.411173 9.4195919,16.284163 C9.5271912,16.093651 9.642252,15.898396 9.7575493,15.693488 C10.065001,15.147075 10.374106,14.532038 10.54775,13.755414 C10.634573,13.367084 10.687531,12.938361 10.689487,12.457608 C10.690464,12.217231
10.678693,11.963844 10.652026,11.695993 C10.638694,11.56207 10.621637,11.42453 10.600591,11.283194 C10.796568,11.110982 11.038331,10.939336 11.308114,10.76666 C11.459869,10.669531 11.620489,10.572075 11.786819,10.47401 C12.951136,9.7875538 14.395069,9.0712566
15.034535,8.2280025 C15.359358,7.7996631 15.476619,7.3385482 15.244309,6.8319521 C15.186224,6.7053061 15.106295,6.575809 15.002294,6.4432735 C14.730462,6.3418398 14.475824,6.2705708 14.237081,6.2266183 C14.117708,6.2046437 14.002309,6.189497 13.890721,6.1808252
C13.834929,6.1764898 13.780088,6.1737723 13.726182,6.1726294 z M23.064037,1.8001978 C20.688057,1.7889122 18.140512,2.2940457 16.599651,3.5842586 C16.214417,3.9068317 15.892088,4.2784696 15.65108,4.703414 C15.530579,4.915875 15.430411,5.1416645
15.35287,5.3812909 C15.961481,5.120739 16.635962,4.9801412 17.357302,4.9243684 C17.537634,4.9104271 17.720892,4.9017863 17.906786,4.8978982 C18.650324,4.8823481 19.436064,4.9428487 20.244841,5.044271 C22.064613,5.2724767 24.001244,5.7078733 25.838221,5.9502735
C27.471102,6.1657457 29.025249,6.2287383 30.34841,5.8583984 C31.009962,5.6732326 31.613808,5.3797321 32.140926,4.9427524 C32.404476,4.7242632 32.64883,4.4699087 32.871647,4.175271 C28.468245,4.339077 26.566742,5.5273819 23.379864,3.56686 C23.386333,1.8799329
25.369417,5.0088992 24.838127,2.3608384 C25.552074,2.3788474 25.406225,3.1024952 25.567261,3.56686 C26.194143,3.6820714 26.259407,3.331058 26.302925,2.9638491 C26.163651,2.450995 26.58799,2.3968501 27.029881,2.3608384 C26.179422,2.0849845 25.101887,1.8962054
23.944637,1.8281134 C23.655321,1.8110907 23.361017,1.8016112 23.064037,1.8001978 z M26.210461,0.25219557 C29.65807,0.3096149 33.06802,1.4971507 35.976784,4.2456932 C36.158607,4.4174919 36.338474,4.5953913 36.51627,4.7794995 C40.046768,3.115984
43.953053,5.6897302 45.272503,7.7949414 C45.018917,7.7746887 44.743454,7.7239652 44.453362,7.6528087 C44.308327,7.6172299 44.159603,7.5765338 44.008152,7.531981 C42.796509,7.1755772 41.408844,6.5721374 40.310516,6.362833 C39.761391,6.2581811 39.284603,6.2520137
38.93811,6.4246035 C38.851528,6.4677386 38.773079,6.5220442 38.703701,6.5887651 C40.825981,10.067145 42.247128,14.119381 43.81422,18.052849 C43.962376,18.031021 44.105274,18.013536 44.243427,17.999987 C45.348587,17.891609 46.149731,18.034945 46.900711,18.218988
C47.182331,18.288008 47.456882,18.362741 47.737774,18.432066 C48.112301,18.524504 48.498119,18.607319 48.926922,18.654139 C49.646805,19.891821 49.910583,21.176317 49.845455,22.400763 C49.837322,22.553818 49.824043,22.705933 49.80587,22.856897
C49.515156,25.272457 47.972511,27.394789 46.195583,28.369225 C45.751347,28.612837 45.292492,28.784697 44.834915,28.871458 C44.606117,28.914841 44.377647,28.936951 44.151497,28.936111 C44.03841,28.935699 43.925888,28.929544 43.81422,28.917448 C41.356327,39.477341
31.603575,50.450367 18.270311,45.211636 C11.649584,42.610294 8.2668705,35.489819 6.5909796,27.711269 C6.3110137,27.818386 6.0497904,27.902966 5.8034401,27.967274 C5.6802621,27.999424 5.5608039,28.026505 5.4445791,28.048798 C4.5147524,28.227131 3.791826,28.098978
3.0278938,27.80835 C2.6459336,27.663038 2.2537267,27.4771 1.8202826,27.268549 C1.7119222,27.216412 1.6009847,27.162861 1.4869854,27.108179 C-0.61360025,24.184277 0.18348235,20.011253 2.2161269,17.449759 C3.5068748,16.921341 4.447083,17.427691
5.1414018,17.888348 C5.2715888,17.97472 5.3931289,18.059479 5.5067029,18.135521 C5.8096189,18.338305 6.0558939,18.478983 6.2586327,18.422575 C6.3600073,18.394369 6.4505091,18.316896 6.5317545,18.17325 C6.5520663,18.137337 6.5717993,18.097294 6.5909796,18.052849
C6.550168,17.695883 6.5300217,17.336756 6.5296307,16.976318 C6.5234051,11.209405 11.575158,5.105619 17.981102,2.1183701 C19.582533,1.3715725 21.268734,0.81950343 22.981606,0.51620638 C23.838043,0.36455816 24.701153,0.27509859 25.56374,0.25456461 C25.779385,0.24943189
25.994995,0.24860696 26.210461,0.25219557 z"/>
                            <Path Fill="White" Stretch="Fill" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="2.04" UseLayoutRounding="False" Data="M16.098101,11.8438 C17.2971,12.4488 18.8211,12.0718 19.7861,11.5088" Margin="0,17.108,14.735,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="9.01"/>
                            <Path Fill="White" Stretch="Fill" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="2.712" Width="9.01" UseLayoutRounding="False" Data="M10.7324,11.1738 C11.2514,12.0478 14.1724,12.9448 14.4204,11.1738" HorizontalAlignment="Left" Margin="14.712,16.117,0,0" VerticalAlignment="Top"/>
                            <Path Fill="Black" Stretch="Fill" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="11.091" UseLayoutRounding="False" Data="M0.2594119,3.6880052 C0.28491664,3.8376248 0.32157886,3.9729438 0.36818534,4.0952997 C0.39149076,4.1564822 0.41728145,4.2144222 0.44540721,4.2692895 C0.67042536,4.7082429 1.0449097,4.9505353 1.4913714,5.0816588 C1.7146076,5.1472225 1.9558413,5.1849957 2.2053833,5.2056594 C2.3301547,5.2159934 2.4570053,5.2220483 2.5847232,5.225163 C2.8401582,5.2313924 3.0990634,5.2258577 3.3517518,5.219245 C3.5412693,5.2142854 3.7272911,5.2087178 3.9057271,5.2070527 C4.3815613,5.2026124 4.8034706,5.2259088 5.0939984,5.362433 C5.0162416,5.4660678 4.9236526,5.559813 4.8187556,5.6438785 C3.979526,6.3164616 2.3521221,6.3702245 1.2221156,5.9246626 C0.65709233,5.7018747 0.21642688,5.35425 0.060790896,4.8966937 C-0.017022826,4.6679282 -0.023584809,4.411664 0.061206222,4.1297903 C0.10360049,3.9888577 0.16883232,3.8415153 0.2594119,3.6880052 z M7.103653,2.1030692E-06 C7.2088528,6.1052044E-05 7.3152499,0.0013572852 7.4228492,0.0038974646 C9.2239161,3.4946575 2.23259,7.0130849 0.57199675,3.3611863 C1.1698728,2.2381966 2.0217967,1.3785498 3.1546421,0.80981356 C3.7210658,0.52544779 4.3577147,0.31380898 5.0679693,0.1783386 C5.4230857,0.11060663 5.7966108,0.06191466 6.1889553,0.032696921 C6.3851228,0.018088732 6.5859995,0.0083485739 6.7916312,0.0035304094 C6.8944468,0.0011216289 6.9984512,-5.6798806E-05 7.103653,2.1030692E-06 z" Margin="17.33,0,16.072,10.082" VerticalAlignment="Bottom"/>
                        </Grid>
                        <ContentPresenter Grid.Row="1"
                                x:Name="Content"
                                Cursor="{TemplateBinding Cursor}"
                                Content="{TemplateBinding Content}"
                                ContentTemplate="{TemplateBinding ContentTemplate}"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                Margin="{TemplateBinding Padding}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RatingItemEaseStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Background="{TemplateBinding Background}" Margin="1" Width="50">
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.1000000" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.305"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <EasingColorKeyFrame KeyTime="00:00:00" Value="Red"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Filled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Face">
                            <Border Background="#02FFFFFF" BorderThickness="0"/>
                            <Ellipse x:Name="ellipse" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="6,0,8,1" Opacity="0"/>
                            <Ellipse x:Name="ellipseMouseOver" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Opacity="0" Margin="6,0,8,0" Height="47" VerticalAlignment="Top"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="-0.105,-0.137,0,1.325" UseLayoutRounding="False" Data="M26.237946,19.852446 C26.50115,19.857412 26.740175,19.883265 26.960863,19.924959 C27.843678,20.091742 28.433006,20.512058 29.101202,20.863348 C29.43531,21.038992 29.789143,21.197397 30.209232,21.298235 L30.209232,24.780724 C30.109919,24.862326 30.005568,24.94174
29.896561,25.018871 C28.152536,26.252922 25.218481,26.901661 22.711409,26.565176 C21.457756,26.396893 20.310905,25.9823 19.472828,25.271427 C19.053785,24.915966 18.711912,24.486431 18.472502,23.976572 C18.352808,23.721653 18.258709,23.446648 18.193392,23.150768
C18.16073,23.002838 18.135267,22.849688 18.117388,22.691229 C19.002008,20.666378 23.230732,19.015585 24.567171,21.298235 C21.561413,21.019545 19.840994,21.855804 19.735243,24.084225 C22.490244,25.127985 27.706707,25.240416 28.598587,22.691229 C28.992846,20.491337
24.598248,22.433933 25.37009,19.905239 C25.687433,19.8634 25.974779,19.847479 26.237946,19.852446 z M44.727043,19.045824 C44.56675,19.042547 44.399853,19.047258 44.226215,19.060476 C43.940559,19.444876 43.726292,20.030916 43.583504,20.717813
C43.547798,20.889545 43.516556,21.067583 43.489777,21.250355 C43.275539,22.712559 43.346966,24.477642 43.704014,25.739639 C43.793278,26.055151 43.900398,26.339214 44.025368,26.579269 C44.087864,26.699297 44.154816,26.808311 44.226215,26.904737 C44.753677,26.907881
45.236126,26.781082 45.665707,26.557562 C45.880474,26.445808 46.08205,26.309866 46.269394,26.153931 C46.363087,26.075958 46.453209,25.992981 46.539654,25.905521 C47.922989,24.506195 48.365925,21.958719 47.367878,20.392811 C46.868694,19.60973
46.009315,19.0721 44.727043,19.045824 z M2.6305475,18.450787 C2.2838683,18.885115 2.0599244,19.478745 1.9316618,20.153454 C1.8675283,20.490803 1.8273145,20.848423 1.8076428,21.216532 C1.7978055,21.400585 1.7931044,21.587261 1.7931159,21.775331 C1.7932045,23.279892
2.0948784,24.873947 2.4818609,25.931578 C2.5302308,26.063768 2.5799341,26.187578 2.6305475,26.301786 L5.5475883,26.301786 C5.2123427,22.141451 7.6551805,19.061047 2.6305475,18.450787 z M30.268539,8.2749023 C31.595663,8.288269 32.931465,8.6484032
33.899906,9.3308935 C34.384106,9.6720943 34.77647,10.093895 35.029984,10.593193 C35.156734,10.842834 35.248775,11.111859 35.300228,11.399883 C35.325954,11.543893 35.34153,11.69265 35.346222,11.84611 C35.348568,11.922839 35.348194,12.000744 35.345009,12.079818
C32.005764,9.4810867 27.671659,9.1636982 25.466417,12.832957 C24.849939,9.7895803 27.37096,8.3365774 30.019899,8.2764635 C30.102684,8.2745848 30.185595,8.274066 30.268539,8.2749023 z M22.317604,8.2692347 C22.558735,8.2681246 22.807333,8.2735968 23.063528,8.2857599
C23.173323,8.2909727 23.284513,8.2974138 23.397106,8.3050919 C23.471743,8.4030962 23.578438,8.5292931 23.703276,8.6770954 C23.765699,8.7509995 23.832661,8.830307 23.902428,8.914196 C24.460541,9.5853367 25.197948,10.549718 25.225229,11.386532 C25.238855,11.804977
25.074966,12.191541 24.622398,12.493644 C24.509243,12.56918 24.378048,12.639431 24.227081,12.703583 C23.248365,11.613686 23.513554,9.4254799 20.907181,9.768343 C20.261848,9.8731642 19.802212,10.140967 19.432156,10.487173 C19.339645,10.573721
19.252728,10.66517 19.169907,10.760193 C19.004261,10.95024 18.85498,11.154596 18.710037,11.362687 C18.601332,11.518756 18.49506,11.676926 18.386147,11.832734 C18.095722,12.248231 17.786516,12.646931 17.36228,12.944254 C17.150162,13.092911 16.909281,13.216233
16.627602,13.303633 C16.486761,13.347334 16.335722,13.382054 16.172977,13.406472 C16.091606,13.418682 16.007307,13.428316 15.919894,13.435209 C15.97864,12.945193 16.072508,12.486134 16.203421,12.059735 C16.677296,10.516346 17.636751,9.4007988 19.173725,8.7945137
C19.93927,8.4925451 20.848074,8.3168898 21.911533,8.2775688 C22.044466,8.2726536 22.179815,8.2698698 22.317604,8.2692347 z M13.726182,6.1726294 C13.294926,6.1634855 12.923382,6.2550879 12.601221,6.4246907 C12.560951,6.4458919 12.521452,6.4683113
12.482705,6.4919052 C11.242821,7.2468953 10.772497,9.2044172 10.411074,10.908853 C10.230371,11.761053 10.076884,12.549996 9.8680658,13.093654 C9.6942282,13.549427 9.442626,14.003848 9.1583977,14.457395 C9.0162821,14.684166 8.8660116,14.910719 8.7132263,15.137111
C8.4840441,15.476708 8.2492027,15.815945 8.0277452,16.155024 C7.732471,16.607132 7.460979,17.058964 7.2584043,17.511009 C7.1571183,17.737034 7.0730677,17.963099 7.0118837,18.18928 C6.9812927,18.30237 6.9564199,18.415489 6.9379692,18.528645 C4.4844341,33.539661
14.68827,45.896484 26.003273,45.130165 C28.089613,44.988205 29.993261,44.42511 31.702095,43.53009 C32.129292,43.306339 32.544334,43.061832 32.947002,42.797958 C39.389511,38.576195 42.667358,29.397194 42.005016,20.956429 C41.673847,16.736063
40.357666,12.699969 37.959492,9.5600386 C37.35997,8.7750626 36.692837,8.0460968 35.956551,7.3842692 C35.588417,7.0533514 35.203007,6.7392254 34.800121,6.4432735 C29.460728,7.6387434 23.088741,8.1835022 17.93239,6.4432735 C17.834198,6.5068941 17.737099,6.57548
17.641012,6.6487699 C16.872328,7.2350712 16.168413,8.1222563 15.486496,9.1749649 C15.145547,9.7013073 14.810101,10.269017 14.47482,10.861181 C14.013813,11.675395 13.553112,12.535826 13.078828,13.39847 C12.432082,14.574806 11.760086,15.755243 11.027612,16.828232
C10.636956,17.400494 10.229103,17.942188 9.7987127,18.436382 C9.5835133,18.683483 9.3626795,18.918709 9.1355419,19.139946 C8.8168478,18.465097 8.7911787,17.919298 8.921382,17.409563 C8.9864855,17.154686 9.0905685,16.908806 9.2164841,16.660318
C9.2794409,16.53607 9.3478575,16.411173 9.4195919,16.284163 C9.5271912,16.093651 9.642252,15.898396 9.7575493,15.693488 C10.065001,15.147075 10.374106,14.532038 10.54775,13.755414 C10.634573,13.367084 10.687531,12.938361 10.689487,12.457608 C10.690464,12.217231
10.678693,11.963844 10.652026,11.695993 C10.638694,11.56207 10.621637,11.42453 10.600591,11.283194 C10.796568,11.110982 11.038331,10.939336 11.308114,10.76666 C11.459869,10.669531 11.620489,10.572075 11.786819,10.47401 C12.951136,9.7875538 14.395069,9.0712566
15.034535,8.2280025 C15.359358,7.7996631 15.476619,7.3385482 15.244309,6.8319521 C15.186224,6.7053061 15.106295,6.575809 15.002294,6.4432735 C14.730462,6.3418398 14.475824,6.2705708 14.237081,6.2266183 C14.117708,6.2046437 14.002309,6.189497 13.890721,6.1808252
C13.834929,6.1764898 13.780088,6.1737723 13.726182,6.1726294 z M23.064037,1.8001978 C20.688057,1.7889122 18.140512,2.2940457 16.599651,3.5842586 C16.214417,3.9068317 15.892088,4.2784696 15.65108,4.703414 C15.530579,4.915875 15.430411,5.1416645
15.35287,5.3812909 C15.961481,5.120739 16.635962,4.9801412 17.357302,4.9243684 C17.537634,4.9104271 17.720892,4.9017863 17.906786,4.8978982 C18.650324,4.8823481 19.436064,4.9428487 20.244841,5.044271 C22.064613,5.2724767 24.001244,5.7078733 25.838221,5.9502735
C27.471102,6.1657457 29.025249,6.2287383 30.34841,5.8583984 C31.009962,5.6732326 31.613808,5.3797321 32.140926,4.9427524 C32.404476,4.7242632 32.64883,4.4699087 32.871647,4.175271 C28.468245,4.339077 26.566742,5.5273819 23.379864,3.56686 C23.386333,1.8799329
25.369417,5.0088992 24.838127,2.3608384 C25.552074,2.3788474 25.406225,3.1024952 25.567261,3.56686 C26.194143,3.6820714 26.259407,3.331058 26.302925,2.9638491 C26.163651,2.450995 26.58799,2.3968501 27.029881,2.3608384 C26.179422,2.0849845 25.101887,1.8962054
23.944637,1.8281134 C23.655321,1.8110907 23.361017,1.8016112 23.064037,1.8001978 z M26.210461,0.25219557 C29.65807,0.3096149 33.06802,1.4971507 35.976784,4.2456932 C36.158607,4.4174919 36.338474,4.5953913 36.51627,4.7794995 C40.046768,3.115984
43.953053,5.6897302 45.272503,7.7949414 C45.018917,7.7746887 44.743454,7.7239652 44.453362,7.6528087 C44.308327,7.6172299 44.159603,7.5765338 44.008152,7.531981 C42.796509,7.1755772 41.408844,6.5721374 40.310516,6.362833 C39.761391,6.2581811 39.284603,6.2520137
38.93811,6.4246035 C38.851528,6.4677386 38.773079,6.5220442 38.703701,6.5887651 C40.825981,10.067145 42.247128,14.119381 43.81422,18.052849 C43.962376,18.031021 44.105274,18.013536 44.243427,17.999987 C45.348587,17.891609 46.149731,18.034945 46.900711,18.218988
C47.182331,18.288008 47.456882,18.362741 47.737774,18.432066 C48.112301,18.524504 48.498119,18.607319 48.926922,18.654139 C49.646805,19.891821 49.910583,21.176317 49.845455,22.400763 C49.837322,22.553818 49.824043,22.705933 49.80587,22.856897
C49.515156,25.272457 47.972511,27.394789 46.195583,28.369225 C45.751347,28.612837 45.292492,28.784697 44.834915,28.871458 C44.606117,28.914841 44.377647,28.936951 44.151497,28.936111 C44.03841,28.935699 43.925888,28.929544 43.81422,28.917448 C41.356327,39.477341
31.603575,50.450367 18.270311,45.211636 C11.649584,42.610294 8.2668705,35.489819 6.5909796,27.711269 C6.3110137,27.818386 6.0497904,27.902966 5.8034401,27.967274 C5.6802621,27.999424 5.5608039,28.026505 5.4445791,28.048798 C4.5147524,28.227131 3.791826,28.098978
3.0278938,27.80835 C2.6459336,27.663038 2.2537267,27.4771 1.8202826,27.268549 C1.7119222,27.216412 1.6009847,27.162861 1.4869854,27.108179 C-0.61360025,24.184277 0.18348235,20.011253 2.2161269,17.449759 C3.5068748,16.921341 4.447083,17.427691
5.1414018,17.888348 C5.2715888,17.97472 5.3931289,18.059479 5.5067029,18.135521 C5.8096189,18.338305 6.0558939,18.478983 6.2586327,18.422575 C6.3600073,18.394369 6.4505091,18.316896 6.5317545,18.17325 C6.5520663,18.137337 6.5717993,18.097294 6.5909796,18.052849
C6.550168,17.695883 6.5300217,17.336756 6.5296307,16.976318 C6.5234051,11.209405 11.575158,5.105619 17.981102,2.1183701 C19.582533,1.3715725 21.268734,0.81950343 22.981606,0.51620638 C23.838043,0.36455816 24.701153,0.27509859 25.56374,0.25456461 C25.779385,0.24943189
25.994995,0.24860696 26.210461,0.25219557 z"/>
                            <Ellipse StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="3" HorizontalAlignment="Left" Margin="20,14,0,0" VerticalAlignment="Top" Width="2" Fill="Black"/>
                            <Ellipse Fill="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="3" Margin="0,14,20,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="2"/>
                            <Path Fill="Black" Stretch="Fill" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="0.5" Margin="18.375,0,18.5,15.875" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M18,33.25 L31.135101,33.25" Stroke="Black"/>
                        </Grid>
                        <ContentPresenter Grid.Row="1"
						        x:Name="Content"
						        Cursor="{TemplateBinding Cursor}"
						        Content="{TemplateBinding Content}"
						        ContentTemplate="{TemplateBinding ContentTemplate}"
						        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
						        Margin="{TemplateBinding Padding}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RatingItemAmusedStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Background="{TemplateBinding Background}" Margin="1" Width="50">
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.1000000" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.305"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <EasingColorKeyFrame KeyTime="00:00:00" Value="Red"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Filled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Face">
                            <Border Background="#02FFFFFF" BorderThickness="0"/>
                            <Ellipse x:Name="ellipse" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="6,0,8,0" Opacity="0" Height="45" VerticalAlignment="Top"/>
                            <Ellipse x:Name="ellipseMouseOver" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Opacity="0" Margin="5,0,7,0" Height="47" VerticalAlignment="Top"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="-0.105,-0.137,0,1.325" UseLayoutRounding="False" Data="M26.237946,19.852446 C26.50115,19.857412 26.740175,19.883265 26.960863,19.924959 C27.843678,20.091742 28.433006,20.512058 29.101202,20.863348 C29.43531,21.038992 29.789143,21.197397 30.209232,21.298235 L30.209232,24.780724 C30.109919,24.862326 30.005568,24.94174
29.896561,25.018871 C28.152536,26.252922 25.218481,26.901661 22.711409,26.565176 C21.457756,26.396893 20.310905,25.9823 19.472828,25.271427 C19.053785,24.915966 18.711912,24.486431 18.472502,23.976572 C18.352808,23.721653 18.258709,23.446648 18.193392,23.150768
C18.16073,23.002838 18.135267,22.849688 18.117388,22.691229 C19.002008,20.666378 23.230732,19.015585 24.567171,21.298235 C21.561413,21.019545 19.840994,21.855804 19.735243,24.084225 C22.490244,25.127985 27.706707,25.240416 28.598587,22.691229 C28.992846,20.491337
24.598248,22.433933 25.37009,19.905239 C25.687433,19.8634 25.974779,19.847479 26.237946,19.852446 z M44.727043,19.045824 C44.56675,19.042547 44.399853,19.047258 44.226215,19.060476 C43.940559,19.444876 43.726292,20.030916 43.583504,20.717813
C43.547798,20.889545 43.516556,21.067583 43.489777,21.250355 C43.275539,22.712559 43.346966,24.477642 43.704014,25.739639 C43.793278,26.055151 43.900398,26.339214 44.025368,26.579269 C44.087864,26.699297 44.154816,26.808311 44.226215,26.904737 C44.753677,26.907881
45.236126,26.781082 45.665707,26.557562 C45.880474,26.445808 46.08205,26.309866 46.269394,26.153931 C46.363087,26.075958 46.453209,25.992981 46.539654,25.905521 C47.922989,24.506195 48.365925,21.958719 47.367878,20.392811 C46.868694,19.60973
46.009315,19.0721 44.727043,19.045824 z M2.6305475,18.450787 C2.2838683,18.885115 2.0599244,19.478745 1.9316618,20.153454 C1.8675283,20.490803 1.8273145,20.848423 1.8076428,21.216532 C1.7978055,21.400585 1.7931044,21.587261 1.7931159,21.775331 C1.7932045,23.279892
2.0948784,24.873947 2.4818609,25.931578 C2.5302308,26.063768 2.5799341,26.187578 2.6305475,26.301786 L5.5475883,26.301786 C5.2123427,22.141451 7.6551805,19.061047 2.6305475,18.450787 z M30.268539,8.2749023 C31.595663,8.288269 32.931465,8.6484032
33.899906,9.3308935 C34.384106,9.6720943 34.77647,10.093895 35.029984,10.593193 C35.156734,10.842834 35.248775,11.111859 35.300228,11.399883 C35.325954,11.543893 35.34153,11.69265 35.346222,11.84611 C35.348568,11.922839 35.348194,12.000744 35.345009,12.079818
C32.005764,9.4810867 27.671659,9.1636982 25.466417,12.832957 C24.849939,9.7895803 27.37096,8.3365774 30.019899,8.2764635 C30.102684,8.2745848 30.185595,8.274066 30.268539,8.2749023 z M22.317604,8.2692347 C22.558735,8.2681246 22.807333,8.2735968 23.063528,8.2857599
C23.173323,8.2909727 23.284513,8.2974138 23.397106,8.3050919 C23.471743,8.4030962 23.578438,8.5292931 23.703276,8.6770954 C23.765699,8.7509995 23.832661,8.830307 23.902428,8.914196 C24.460541,9.5853367 25.197948,10.549718 25.225229,11.386532 C25.238855,11.804977
25.074966,12.191541 24.622398,12.493644 C24.509243,12.56918 24.378048,12.639431 24.227081,12.703583 C23.248365,11.613686 23.513554,9.4254799 20.907181,9.768343 C20.261848,9.8731642 19.802212,10.140967 19.432156,10.487173 C19.339645,10.573721
19.252728,10.66517 19.169907,10.760193 C19.004261,10.95024 18.85498,11.154596 18.710037,11.362687 C18.601332,11.518756 18.49506,11.676926 18.386147,11.832734 C18.095722,12.248231 17.786516,12.646931 17.36228,12.944254 C17.150162,13.092911 16.909281,13.216233
16.627602,13.303633 C16.486761,13.347334 16.335722,13.382054 16.172977,13.406472 C16.091606,13.418682 16.007307,13.428316 15.919894,13.435209 C15.97864,12.945193 16.072508,12.486134 16.203421,12.059735 C16.677296,10.516346 17.636751,9.4007988 19.173725,8.7945137
C19.93927,8.4925451 20.848074,8.3168898 21.911533,8.2775688 C22.044466,8.2726536 22.179815,8.2698698 22.317604,8.2692347 z M13.726182,6.1726294 C13.294926,6.1634855 12.923382,6.2550879 12.601221,6.4246907 C12.560951,6.4458919 12.521452,6.4683113
12.482705,6.4919052 C11.242821,7.2468953 10.772497,9.2044172 10.411074,10.908853 C10.230371,11.761053 10.076884,12.549996 9.8680658,13.093654 C9.6942282,13.549427 9.442626,14.003848 9.1583977,14.457395 C9.0162821,14.684166 8.8660116,14.910719 8.7132263,15.137111
C8.4840441,15.476708 8.2492027,15.815945 8.0277452,16.155024 C7.732471,16.607132 7.460979,17.058964 7.2584043,17.511009 C7.1571183,17.737034 7.0730677,17.963099 7.0118837,18.18928 C6.9812927,18.30237 6.9564199,18.415489 6.9379692,18.528645 C4.4844341,33.539661
14.68827,45.896484 26.003273,45.130165 C28.089613,44.988205 29.993261,44.42511 31.702095,43.53009 C32.129292,43.306339 32.544334,43.061832 32.947002,42.797958 C39.389511,38.576195 42.667358,29.397194 42.005016,20.956429 C41.673847,16.736063
40.357666,12.699969 37.959492,9.5600386 C37.35997,8.7750626 36.692837,8.0460968 35.956551,7.3842692 C35.588417,7.0533514 35.203007,6.7392254 34.800121,6.4432735 C29.460728,7.6387434 23.088741,8.1835022 17.93239,6.4432735 C17.834198,6.5068941 17.737099,6.57548
17.641012,6.6487699 C16.872328,7.2350712 16.168413,8.1222563 15.486496,9.1749649 C15.145547,9.7013073 14.810101,10.269017 14.47482,10.861181 C14.013813,11.675395 13.553112,12.535826 13.078828,13.39847 C12.432082,14.574806 11.760086,15.755243 11.027612,16.828232
C10.636956,17.400494 10.229103,17.942188 9.7987127,18.436382 C9.5835133,18.683483 9.3626795,18.918709 9.1355419,19.139946 C8.8168478,18.465097 8.7911787,17.919298 8.921382,17.409563 C8.9864855,17.154686 9.0905685,16.908806 9.2164841,16.660318
C9.2794409,16.53607 9.3478575,16.411173 9.4195919,16.284163 C9.5271912,16.093651 9.642252,15.898396 9.7575493,15.693488 C10.065001,15.147075 10.374106,14.532038 10.54775,13.755414 C10.634573,13.367084 10.687531,12.938361 10.689487,12.457608 C10.690464,12.217231
10.678693,11.963844 10.652026,11.695993 C10.638694,11.56207 10.621637,11.42453 10.600591,11.283194 C10.796568,11.110982 11.038331,10.939336 11.308114,10.76666 C11.459869,10.669531 11.620489,10.572075 11.786819,10.47401 C12.951136,9.7875538 14.395069,9.0712566
15.034535,8.2280025 C15.359358,7.7996631 15.476619,7.3385482 15.244309,6.8319521 C15.186224,6.7053061 15.106295,6.575809 15.002294,6.4432735 C14.730462,6.3418398 14.475824,6.2705708 14.237081,6.2266183 C14.117708,6.2046437 14.002309,6.189497 13.890721,6.1808252
C13.834929,6.1764898 13.780088,6.1737723 13.726182,6.1726294 z M23.064037,1.8001978 C20.688057,1.7889122 18.140512,2.2940457 16.599651,3.5842586 C16.214417,3.9068317 15.892088,4.2784696 15.65108,4.703414 C15.530579,4.915875 15.430411,5.1416645
15.35287,5.3812909 C15.961481,5.120739 16.635962,4.9801412 17.357302,4.9243684 C17.537634,4.9104271 17.720892,4.9017863 17.906786,4.8978982 C18.650324,4.8823481 19.436064,4.9428487 20.244841,5.044271 C22.064613,5.2724767 24.001244,5.7078733 25.838221,5.9502735
C27.471102,6.1657457 29.025249,6.2287383 30.34841,5.8583984 C31.009962,5.6732326 31.613808,5.3797321 32.140926,4.9427524 C32.404476,4.7242632 32.64883,4.4699087 32.871647,4.175271 C28.468245,4.339077 26.566742,5.5273819 23.379864,3.56686 C23.386333,1.8799329
25.369417,5.0088992 24.838127,2.3608384 C25.552074,2.3788474 25.406225,3.1024952 25.567261,3.56686 C26.194143,3.6820714 26.259407,3.331058 26.302925,2.9638491 C26.163651,2.450995 26.58799,2.3968501 27.029881,2.3608384 C26.179422,2.0849845 25.101887,1.8962054
23.944637,1.8281134 C23.655321,1.8110907 23.361017,1.8016112 23.064037,1.8001978 z M26.210461,0.25219557 C29.65807,0.3096149 33.06802,1.4971507 35.976784,4.2456932 C36.158607,4.4174919 36.338474,4.5953913 36.51627,4.7794995 C40.046768,3.115984
43.953053,5.6897302 45.272503,7.7949414 C45.018917,7.7746887 44.743454,7.7239652 44.453362,7.6528087 C44.308327,7.6172299 44.159603,7.5765338 44.008152,7.531981 C42.796509,7.1755772 41.408844,6.5721374 40.310516,6.362833 C39.761391,6.2581811 39.284603,6.2520137
38.93811,6.4246035 C38.851528,6.4677386 38.773079,6.5220442 38.703701,6.5887651 C40.825981,10.067145 42.247128,14.119381 43.81422,18.052849 C43.962376,18.031021 44.105274,18.013536 44.243427,17.999987 C45.348587,17.891609 46.149731,18.034945 46.900711,18.218988
C47.182331,18.288008 47.456882,18.362741 47.737774,18.432066 C48.112301,18.524504 48.498119,18.607319 48.926922,18.654139 C49.646805,19.891821 49.910583,21.176317 49.845455,22.400763 C49.837322,22.553818 49.824043,22.705933 49.80587,22.856897
C49.515156,25.272457 47.972511,27.394789 46.195583,28.369225 C45.751347,28.612837 45.292492,28.784697 44.834915,28.871458 C44.606117,28.914841 44.377647,28.936951 44.151497,28.936111 C44.03841,28.935699 43.925888,28.929544 43.81422,28.917448 C41.356327,39.477341
31.603575,50.450367 18.270311,45.211636 C11.649584,42.610294 8.2668705,35.489819 6.5909796,27.711269 C6.3110137,27.818386 6.0497904,27.902966 5.8034401,27.967274 C5.6802621,27.999424 5.5608039,28.026505 5.4445791,28.048798 C4.5147524,28.227131 3.791826,28.098978
3.0278938,27.80835 C2.6459336,27.663038 2.2537267,27.4771 1.8202826,27.268549 C1.7119222,27.216412 1.6009847,27.162861 1.4869854,27.108179 C-0.61360025,24.184277 0.18348235,20.011253 2.2161269,17.449759 C3.5068748,16.921341 4.447083,17.427691
5.1414018,17.888348 C5.2715888,17.97472 5.3931289,18.059479 5.5067029,18.135521 C5.8096189,18.338305 6.0558939,18.478983 6.2586327,18.422575 C6.3600073,18.394369 6.4505091,18.316896 6.5317545,18.17325 C6.5520663,18.137337 6.5717993,18.097294 6.5909796,18.052849
C6.550168,17.695883 6.5300217,17.336756 6.5296307,16.976318 C6.5234051,11.209405 11.575158,5.105619 17.981102,2.1183701 C19.582533,1.3715725 21.268734,0.81950343 22.981606,0.51620638 C23.838043,0.36455816 24.701153,0.27509859 25.56374,0.25456461 C25.779385,0.24943189
25.994995,0.24860696 26.210461,0.25219557 z"/>
                            <Ellipse StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="3" HorizontalAlignment="Left" Margin="20,14,0,0" VerticalAlignment="Top" Width="2" Fill="Black"/>
                            <Ellipse Fill="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="3" Margin="0,14,20,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="2"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="4.807" Margin="19.375,0,18.25,12.193" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M19.375,32 C21.516829,34.687786 20.477619,36.068096 25.25,34.875 C27.702827,34.261795 29.418583,32.831417 31.25,31 C29.245424,31.400915 27.616177,33.206951 25.625,33.75 C22.082935,34.716019 22.534548,33.74218 19.375,32 z"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="1.11" Margin="21.875,0,23.875,9.658" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M21.875,37.25 C23.330107,37.609497 24.117733,38.380451 25.625,37.25 C25.063139,37.651329 22.717575,37.132771 21.875,37.25 z"/>
                        </Grid>
                        <ContentPresenter Grid.Row="1"
						        x:Name="Content"
						        Cursor="{TemplateBinding Cursor}"
						        Content="{TemplateBinding Content}"
						        ContentTemplate="{TemplateBinding ContentTemplate}"
						        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
						        Margin="{TemplateBinding Padding}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RatingItemLaughterStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Background="{TemplateBinding Background}" Margin="1" Width="50">
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.1000000" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.305"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipseMouseOver" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <EasingColorKeyFrame KeyTime="00:00:00" Value="Red"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Filled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="Face">
                            <Border Background="#02FFFFFF" BorderThickness="0"/>
                            <Ellipse x:Name="ellipse" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="6,1,8,0" Opacity="0" Height="45" VerticalAlignment="Top"/>
                            <Ellipse x:Name="ellipseMouseOver" Fill="#FFFFE700" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Opacity="0" Margin="6,1,7,0" Height="46" VerticalAlignment="Top"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="#FF231F20" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Margin="-0.23,0.363,0.125,0.825" UseLayoutRounding="False" Data="M26.237946,19.852446 C26.50115,19.857412 26.740175,19.883265 26.960863,19.924959 C27.843678,20.091742 28.433006,20.512058 29.101202,20.863348 C29.43531,21.038992 29.789143,21.197397 30.209232,21.298235 L30.209232,24.780724 C30.109919,24.862326 30.005568,24.94174
29.896561,25.018871 C28.152536,26.252922 25.218481,26.901661 22.711409,26.565176 C21.457756,26.396893 20.310905,25.9823 19.472828,25.271427 C19.053785,24.915966 18.711912,24.486431 18.472502,23.976572 C18.352808,23.721653 18.258709,23.446648 18.193392,23.150768
C18.16073,23.002838 18.135267,22.849688 18.117388,22.691229 C19.002008,20.666378 23.230732,19.015585 24.567171,21.298235 C21.561413,21.019545 19.840994,21.855804 19.735243,24.084225 C22.490244,25.127985 27.706707,25.240416 28.598587,22.691229 C28.992846,20.491337
24.598248,22.433933 25.37009,19.905239 C25.687433,19.8634 25.974779,19.847479 26.237946,19.852446 z M44.727043,19.045824 C44.56675,19.042547 44.399853,19.047258 44.226215,19.060476 C43.940559,19.444876 43.726292,20.030916 43.583504,20.717813
C43.547798,20.889545 43.516556,21.067583 43.489777,21.250355 C43.275539,22.712559 43.346966,24.477642 43.704014,25.739639 C43.793278,26.055151 43.900398,26.339214 44.025368,26.579269 C44.087864,26.699297 44.154816,26.808311 44.226215,26.904737 C44.753677,26.907881
45.236126,26.781082 45.665707,26.557562 C45.880474,26.445808 46.08205,26.309866 46.269394,26.153931 C46.363087,26.075958 46.453209,25.992981 46.539654,25.905521 C47.922989,24.506195 48.365925,21.958719 47.367878,20.392811 C46.868694,19.60973
46.009315,19.0721 44.727043,19.045824 z M2.6305475,18.450787 C2.2838683,18.885115 2.0599244,19.478745 1.9316618,20.153454 C1.8675283,20.490803 1.8273145,20.848423 1.8076428,21.216532 C1.7978055,21.400585 1.7931044,21.587261 1.7931159,21.775331 C1.7932045,23.279892
2.0948784,24.873947 2.4818609,25.931578 C2.5302308,26.063768 2.5799341,26.187578 2.6305475,26.301786 L5.5475883,26.301786 C5.2123427,22.141451 7.6551805,19.061047 2.6305475,18.450787 z M30.268539,8.2749023 C31.595663,8.288269 32.931465,8.6484032
33.899906,9.3308935 C34.384106,9.6720943 34.77647,10.093895 35.029984,10.593193 C35.156734,10.842834 35.248775,11.111859 35.300228,11.399883 C35.325954,11.543893 35.34153,11.69265 35.346222,11.84611 C35.348568,11.922839 35.348194,12.000744 35.345009,12.079818
C32.005764,9.4810867 27.37096,8.3365774 30.019899,8.2764635 C30.102684,8.2745848 30.185595,8.274066 30.268539,8.2749023 z M20.907181,9.768343 C20.261848,9.8731642 19.802212,10.140967 19.432156,10.487173 C19.339645,10.573721 19.252728,10.66517 19.169907,10.760193
C19.004261,10.95024 18.85498,11.154596 18.710037,11.362687 C18.601332,11.518756 18.49506,11.676926 18.386147,11.832734 C18.095722,12.248231 17.786516,12.646931 17.36228,12.944254 C17.150162,13.092911 16.909281,13.216233 16.627602,13.303633 C16.486761,13.347334
16.335722,13.382054 16.172977,13.406472 C16.091606,13.418682 16.007307,13.428316 15.919894,13.435209 C15.97864,12.945193 16.072508,12.486134 16.203421,12.059735 C16.677296,10.516346 17.636751,9.4007988 19.173725,8.7945137 C19.93927,8.4925451
20.848074,8.3168898 21.911533,8.2775688 C22.044466,8.2726536 22.179815,8.2698698 22.317604,8.2692347 C22.558735,8.2681246 22.807333,8.2735968 23.063528,8.2857599 C23.173323,8.2909727 23.284513,8.2974138 23.397106,8.3050919 C23.471743,8.4030962 23.578438,8.5292931
23.703276,8.6770954 C23.765699,8.7509995 23.832661,8.830307 23.902428,8.914196 M13.726182,6.1726294 C13.294926,6.1634855 12.923382,6.2550879 12.601221,6.4246907 C12.560951,6.4458919 12.521452,6.4683113 12.482705,6.4919052 C11.242821,7.2468953 10.772497,9.2044172
10.411074,10.908853 C10.230371,11.761053 10.076884,12.549996 9.8680658,13.093654 C9.6942282,13.549427 9.442626,14.003848 9.1583977,14.457395 C9.0162821,14.684166 8.8660116,14.910719 8.7132263,15.137111 C8.4840441,15.476708 8.2492027,15.815945
8.0277452,16.155024 C7.732471,16.607132 7.460979,17.058964 7.2584043,17.511009 C7.1571183,17.737034 7.0730677,17.963099 7.0118837,18.18928 C6.9812927,18.30237 6.9564199,18.415489 6.9379692,18.528645 C4.4844341,33.539661 14.68827,45.896484 26.003273,45.130165
C28.089613,44.988205 29.993261,44.42511 31.702095,43.53009 C32.129292,43.306339 32.544334,43.061832 32.947002,42.797958 C39.389511,38.576195 42.667358,29.397194 42.005016,20.956429 C41.673847,16.736063 40.357666,12.699969 37.959492,9.5600386 C37.35997,8.7750626
36.692837,8.0460968 35.956551,7.3842692 C35.588417,7.0533514 35.203007,6.7392254 34.800121,6.4432735 C29.460728,7.6387434 23.088741,8.1835022 17.93239,6.4432735 C17.834198,6.5068941 17.737099,6.57548 17.641012,6.6487699 C16.872328,7.2350712 16.168413,8.1222563
15.486496,9.1749649 C15.145547,9.7013073 14.810101,10.269017 14.47482,10.861181 C14.013813,11.675395 13.553112,12.535826 13.078828,13.39847 C12.432082,14.574806 11.760086,15.755243 11.027612,16.828232 C10.636956,17.400494 10.229103,17.942188
9.7987127,18.436382 C9.5835133,18.683483 9.3626795,18.918709 9.1355419,19.139946 C8.8168478,18.465097 8.7911787,17.919298 8.921382,17.409563 C8.9864855,17.154686 9.0905685,16.908806 9.2164841,16.660318 C9.2794409,16.53607 9.3478575,16.411173 9.4195919,16.284163
C9.5271912,16.093651 9.642252,15.898396 9.7575493,15.693488 C10.065001,15.147075 10.374106,14.532038 10.54775,13.755414 C10.634573,13.367084 10.687531,12.938361 10.689487,12.457608 C10.690464,12.217231 10.678693,11.963844 10.652026,11.695993 C10.638694,11.56207
10.621637,11.42453 10.600591,11.283194 C10.796568,11.110982 11.038331,10.939336 11.308114,10.76666 C11.459869,10.669531 11.620489,10.572075 11.786819,10.47401 C12.951136,9.7875538 14.395069,9.0712566 15.034535,8.2280025 C15.359358,7.7996631
15.476619,7.3385482 15.244309,6.8319521 C15.186224,6.7053061 15.106295,6.575809 15.002294,6.4432735 C14.730462,6.3418398 14.475824,6.2705708 14.237081,6.2266183 C14.117708,6.2046437 14.002309,6.189497 13.890721,6.1808252 C13.834929,6.1764898 13.780088,6.1737723
13.726182,6.1726294 z M23.064037,1.8001978 C20.688057,1.7889122 18.140512,2.2940457 16.599651,3.5842586 C16.214417,3.9068317 15.892088,4.2784696 15.65108,4.703414 C15.530579,4.915875 15.430411,5.1416645 15.35287,5.3812909 C15.961481,5.120739 16.635962,4.9801412
17.357302,4.9243684 C17.537634,4.9104271 17.720892,4.9017863 17.906786,4.8978982 C18.650324,4.8823481 19.436064,4.9428487 20.244841,5.044271 C22.064613,5.2724767 24.001244,5.7078733 25.838221,5.9502735 C27.471102,6.1657457 29.025249,6.2287383
30.34841,5.8583984 C31.009962,5.6732326 31.613808,5.3797321 32.140926,4.9427524 C32.404476,4.7242632 32.64883,4.4699087 32.871647,4.175271 C28.468245,4.339077 26.566742,5.5273819 23.379864,3.56686 C23.386333,1.8799329 25.369417,5.0088992 24.838127,2.3608384
C25.552074,2.3788474 25.406225,3.1024952 25.567261,3.56686 C26.194143,3.6820714 26.259407,3.331058 26.302925,2.9638491 C26.163651,2.450995 26.58799,2.3968501 27.029881,2.3608384 C26.179422,2.0849845 25.101887,1.8962054 23.944637,1.8281134 C23.655321,1.8110907
23.361017,1.8016112 23.064037,1.8001978 z M26.210461,0.25219557 C29.65807,0.3096149 33.06802,1.4971507 35.976784,4.2456932 C36.158607,4.4174919 36.338474,4.5953913 36.51627,4.7794995 C40.046768,3.115984 43.953053,5.6897302 45.272503,7.7949414 C45.018917,7.7746887
44.743454,7.7239652 44.453362,7.6528087 C44.308327,7.6172299 44.159603,7.5765338 44.008152,7.531981 C42.796509,7.1755772 41.408844,6.5721374 40.310516,6.362833 C39.761391,6.2581811 39.284603,6.2520137 38.93811,6.4246035 C38.851528,6.4677386 38.773079,6.5220442
38.703701,6.5887651 C40.825981,10.067145 42.247128,14.119381 43.81422,18.052849 C43.962376,18.031021 44.105274,18.013536 44.243427,17.999987 C45.348587,17.891609 46.149731,18.034945 46.900711,18.218988 C47.182331,18.288008 47.456882,18.362741
47.737774,18.432066 C48.112301,18.524504 48.498119,18.607319 48.926922,18.654139 C49.646805,19.891821 49.910583,21.176317 49.845455,22.400763 C49.837322,22.553818 49.824043,22.705933 49.80587,22.856897 C49.515156,25.272457 47.972511,27.394789 46.195583,28.369225
C45.751347,28.612837 45.292492,28.784697 44.834915,28.871458 C44.606117,28.914841 44.377647,28.936951 44.151497,28.936111 C44.03841,28.935699 43.925888,28.929544 43.81422,28.917448 C41.356327,39.477341 31.603575,50.450367 18.270311,45.211636 C11.649584,42.610294
8.2668705,35.489819 6.5909796,27.711269 C6.3110137,27.818386 6.0497904,27.902966 5.8034401,27.967274 C5.6802621,27.999424 5.5608039,28.026505 5.4445791,28.048798 C4.5147524,28.227131 3.791826,28.098978 3.0278938,27.80835 C2.6459336,27.663038
2.2537267,27.4771 1.8202826,27.268549 C1.7119222,27.216412 1.6009847,27.162861 1.4869854,27.108179 C-0.61360025,24.184277 0.18348235,20.011253 2.2161269,17.449759 C3.5068748,16.921341 4.447083,17.427691 5.1414018,17.888348 C5.2715888,17.97472 5.3931289,18.059479
5.5067029,18.135521 C5.8096189,18.338305 6.0558939,18.478983 6.2586327,18.422575 C6.3600073,18.394369 6.4505091,18.316896 6.5317545,18.17325 C6.5520663,18.137337 6.5717993,18.097294 6.5909796,18.052849 C6.550168,17.695883 6.5300217,17.336756 6.5296307,16.976318
C6.5234051,11.209405 11.575158,5.105619 17.981102,2.1183701 C19.582533,1.3715725 21.268734,0.81950343 22.981606,0.51620638 C23.838043,0.36455816 24.701153,0.27509859 25.56374,0.25456461 C25.779385,0.24943189 25.994995,0.24860696 26.210461,0.25219557
z"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="9.627" Margin="17.25,0,17.75,12.498" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M17.25,25.874748 C19.391829,28.562534 20.477619,36.068096 25.25,34.875 C27.702827,34.261795 29.918583,29.331255 31.75,27.499838 C29.745424,27.900753 26.241177,30.081964 24.25,30.625013 C20.707935,31.591032 20.409548,27.616928 17.25,25.874748 z"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="3.477" Margin="19.75,0,20.25,9.523" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M19.75,35 C22.45676,38.486675 23.581364,39.376476 29.25,35.125 C28.913748,35.46125 28.978926,35.68343 28.5,35.875 C28.254396,36.366207 28.354322,36.25827 27.75,36.5 C27.75,36.583332 27.75,36.666668 27.75,36.75 C26.171471,37.013088 24.57239,37.18552 23,37.5 C20.664211,37.967159 21.135111,37.745922 19.75,35 z"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="4.75" HorizontalAlignment="Right" Margin="0,0,15.25,18.625" VerticalAlignment="Bottom" Width="5.375" UseLayoutRounding="False" Data="M29.375,24.625 C32.479271,25.383821 32.78994,25.468191 34.25,28.875 C32.822292,28.589458 32.049587,26.609919 30.875,26.375 C30.681276,25.406382 30.065016,25.287415 29.375,24.625 z"/>
                            <Path Fill="Black" Stretch="Fill" Stroke="Black" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" HorizontalAlignment="Left" Margin="15.875,23.875,0,19.75" Width="3.875" UseLayoutRounding="False" Data="M19.25,24.375 C17.575312,24.927095 17.2383,24.433498 16.75,26.875 C16.666666,26.875 16.583334,26.875 16.5,26.875 C16.3554,27.3088 16.239325,27.385675 15.875,27.75 C15.875,25.078598 16.142931,25.332104 18.875,23.875"/>
                            <Path Fill="Black" Stretch="Fill" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="4.597" HorizontalAlignment="Right" Margin="0,12.278,16.125,0" VerticalAlignment="Top" Width="6.282" UseLayoutRounding="False" Data="M28.125,14.875 C28.505909,14.319248 28.752001,13.854571 29.125,13.375 C29.733702,12.592383 29.437965,12.046991 30.75,12.375 C31.862614,12.653153 32.978226,12.853228 33.875,13.75 C32.173523,13.506931 31.333941,11.415696 29.875,13.75 C28.768715,15.520056 27.065655,14.440655 29.5,16.875 C29.050978,16.785196 28.078865,16.618298 27.75,16.125 C27.117758,15.176637 28.60021,15.154385 28.625,14.75"/>
                            <Path Fill="Black" Stretch="Fill" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.5" Height="4.34" HorizontalAlignment="Left" Margin="17.256,12.268,0,0" VerticalAlignment="Top" Width="5.244" UseLayoutRounding="False" Data="M22.5,14 C21.732601,13.606942 21.218784,13 20.25,13 C19.574575,13 19.167582,13.369511 19,14.375 C18.916666,14.375 18.833334,14.375 18.75,14.375 C18.638073,14.934637 18.180721,14.807219 18.25,15.5 C18.312143,16.121428 18.512447,16.126778 19.375,16.25 C19.375,16.333334 19.375,16.416666 19.375,16.5 C19.419739,16.570305 19.541666,16.5 19.625,16.5 C19.708334,16.5 19.793285,16.483658 19.875,16.5 C19.466337,16.791903 15.311889,16.605888 18.375,14.5 C19.073593,14.019717 19.224733,13.180703 20,12.75 C21.851021,11.721655 20.465477,12.473184 22,13.75"/>
                        </Grid>
                        <ContentPresenter Grid.Row="1"
						        x:Name="Content"
						        Cursor="{TemplateBinding Cursor}"
						        Content="{TemplateBinding Content}"
						        ContentTemplate="{TemplateBinding ContentTemplate}"
						        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
						        Margin="{TemplateBinding Padding}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RatingItemLeftStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial"/>
                                <VisualState x:Name="Filled"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border Background="#02FFFFFF" BorderThickness="0"/>
                        <Path x:Name="DefaultRatingItem" Stretch="Fill" StrokeLineJoin="Round" StrokeThickness="0.4" VerticalAlignment="Stretch" Width="15" Opacity="1" UseLayoutRounding="False" Data="M15,0 L15,23.023449 L5.7294912,30 L9.1750822,18.573566 L0,11.459046 L11.399999,11.373603 z" Fill="#FFE5E5E5"/>
                        <inputToolkitPrimitives:LinearClipper RatioVisible="{TemplateBinding DisplayValue}" ExpandDirection="Right">
                            <Path Fill="{TemplateBinding Foreground}" Stretch="Fill" StrokeLineJoin="Round" StrokeThickness="0.4" VerticalAlignment="Stretch" Opacity="1" UseLayoutRounding="False" Data="M15,0 L15,23.023449 L5.7294912,30 L9.1750822,18.573566 L0,11.459046 L11.399999,11.373603 z"/>
                        </inputToolkitPrimitives:LinearClipper>
                        <Path x:Name="MouseOverRatingItem" Fill="Black" Stretch="Fill" StrokeLineJoin="Round" StrokeThickness="0.4" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="15" Opacity="0" UseLayoutRounding="False" Data="M15,0 L15,23.023449 L5.7294912,30 L9.1750822,18.573566 L0,11.459046 L11.399999,11.373603 z"/>
                        <ContentPresenter x:Name="Content" Cursor="{TemplateBinding Cursor}" HorizontalAlignment="Left" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RatingItemRightStyle" TargetType="inputToolkit:RatingItem">
        <Setter Property="BorderBrush" Value="#FF545454"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="inputToolkit:RatingItem">
                    <Grid Height="30" Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="00:00:00.1000000"/>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00" To="Normal"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="MouseOverRatingItem" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Disabled"/>
                                <VisualState x:Name="ReadOnly"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FillStates">
                                <VisualState x:Name="Empty"/>
                                <VisualState x:Name="Partial"/>
                                <VisualState x:Name="Filled"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border Background="#02FFFFFF" BorderThickness="0"/>
                        <Path x:Name="DefaultRatingItem" Fill="#FFE7E7E7" Stretch="Fill" StrokeLineJoin="Round" StrokeThickness="0.4" VerticalAlignment="Stretch" Opacity="1" UseLayoutRounding="False" Data="M0,11.459028 z M15,0 L18.599995,11.373585 L29.999994,11.459028 L20.824949,18.573547 L24.270514,29.999981 L15,23.023434 z" Width="15"/>
                        <inputToolkitPrimitives:LinearClipper RatioVisible="{TemplateBinding DisplayValue}" ExpandDirection="Right" Width="15">
                            <Path x:Name="DefaultRatingItem_Copy" Fill="{TemplateBinding Foreground}" Stretch="Fill" StrokeLineJoin="Round" StrokeThickness="0.4" VerticalAlignment="Stretch" Opacity="1" UseLayoutRounding="False" Data="M0,11.459028 z M15,0 L18.599995,11.373585 L29.999994,11.459028 L20.824949,18.573547 L24.270514,29.999981 L15,23.023434 z" Height="30"/>
                        </inputToolkitPrimitives:LinearClipper>
                        <Path x:Name="MouseOverRatingItem" Fill="Black" Stretch="Fill" StrokeLineJoin="Round" StrokeThickness="0.4" VerticalAlignment="Stretch" Opacity="0" UseLayoutRounding="False" Data="M0,11.459028 z M15,0 L18.599995,11.373585 L29.999994,11.459028 L20.824949,18.573547 L24.270514,29.999981 L15,23.023434 z" Width="15"/>
                        <ContentPresenter x:Name="Content" Cursor="{TemplateBinding Cursor}" HorizontalAlignment="Left" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="Header" TargetType="ContentControl">
        <Setter Property="Background" Value="#22D2D2D2" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Cursor" Value="Arrow" />
        <Setter Property="IsTabStop" Value="False" />
        <Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="FontSize" Value="24" />
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="FontStretch" Value="UltraExpanded" />
        <Setter Property="Foreground" Value="#FF184491" />
        <Setter Property="Padding" Value="6 2 2 2" />
        <Setter Property="VerticalContentAlignment" Value="Top" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Border
                      Background="{TemplateBinding Background}"
                      BorderBrush="{TemplateBinding BorderBrush}"
                      BorderThickness="{TemplateBinding BorderThickness}"
                      CornerRadius="2">
                        <ContentControl
                          Content="{TemplateBinding Content}"
                          ContentTemplate="{TemplateBinding ContentTemplate}"
                          Cursor="{TemplateBinding Cursor}"
                          HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                          FontFamily="{TemplateBinding FontFamily}"
                          FontSize="{TemplateBinding FontSize}"
                          FontStretch="{TemplateBinding FontStretch}"
                          Foreground="{TemplateBinding Foreground}"
                          IsTabStop="{TemplateBinding IsTabStop}"
                          Margin="{TemplateBinding Padding}"
                          VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
